diff options
author | 2016-10-08 00:00:22 +0200 | |
---|---|---|
committer | 2016-10-08 00:00:22 +0200 | |
commit | a4ae38e90d917fe1c75c95f29444afa51e418889 (patch) | |
tree | f39c138fe67440ce9c13db9b20c20cdbc23c323a /sci-libs/libmems/libmems-1.6_p1-r3.ebuild | |
parent | sci-chemistry/sparky: Allow for compiling with GCC 6 (diff) | |
download | gentoo-a4ae38e90d917fe1c75c95f29444afa51e418889.tar.gz gentoo-a4ae38e90d917fe1c75c95f29444afa51e418889.tar.bz2 gentoo-a4ae38e90d917fe1c75c95f29444afa51e418889.zip |
sci-libs/libmems: Allow building with Boost 1.62
Gentoo-bug: 595986
* Revbump to also fix USE=doc building
* Patch by Peter Levine
Package-Manager: portage-2.3.1
Diffstat (limited to 'sci-libs/libmems/libmems-1.6_p1-r3.ebuild')
-rw-r--r-- | sci-libs/libmems/libmems-1.6_p1-r3.ebuild | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/sci-libs/libmems/libmems-1.6_p1-r3.ebuild b/sci-libs/libmems/libmems-1.6_p1-r3.ebuild new file mode 100644 index 000000000000..ef5fd0a8d8a9 --- /dev/null +++ b/sci-libs/libmems/libmems-1.6_p1-r3.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit autotools + +DESCRIPTION="Library for sci-biology/mauve" +HOMEPAGE="http://gel.ahabs.wisc.edu/mauve/" +SRC_URI="https://dev.gentoo.org/~jlec/distfiles/${P}.tar.xz" + +SLOT="0" +LICENSE="GPL-2" +IUSE="doc static-libs" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-libs/boost:= + sci-libs/libgenome + sci-libs/libmuscle" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen )" + +PATCHES=( + "${FILESDIR}"/${P}-build.patch + "${FILESDIR}"/${P}-boost.patch + "${FILESDIR}"/${P}-gcc-4.7.patch + "${FILESDIR}"/${P}-broken-constness.patch + "${FILESDIR}"/${P}-format-security.patch + "${FILESDIR}"/${P}-fix-c++14.patch + "${FILESDIR}"/${P}-boost-1.62-type-traits.patch +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf \ + --enable-shared \ + $(use_enable static-libs static) +} + +src_compile() { + default + + if use doc; then + doxygen doxygen.am || die + HTML_DOCS+=( html/. ) + fi +} + +src_install() { + default + + # package provides .pc files + find "${D}" -name '*.la' -delete || die +} |