summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSławomir Lis <slis@gentoo.org>2015-08-28 08:29:22 +0200
committerSławomir Lis <slis@gentoo.org>2015-08-28 08:29:22 +0200
commit4319d12e7c0bbde77ac51dfc16989a6794d0ad26 (patch)
tree11a3aff74f07180dfc775c6aabe14c9ccb302fe0 /sci-libs/libgeodecomp/libgeodecomp-0.3.1.ebuild
parentdev-libs/libgit2: remove old (diff)
downloadgentoo-4319d12e7c0bbde77ac51dfc16989a6794d0ad26.tar.gz
gentoo-4319d12e7c0bbde77ac51dfc16989a6794d0ad26.tar.bz2
gentoo-4319d12e7c0bbde77ac51dfc16989a6794d0ad26.zip
Fixed #558714
Added 'examples' USE flag and conditional depend on sys-cluster/mpich2 Package-Manager: portage-2.2.20.1
Diffstat (limited to 'sci-libs/libgeodecomp/libgeodecomp-0.3.1.ebuild')
-rw-r--r--sci-libs/libgeodecomp/libgeodecomp-0.3.1.ebuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/sci-libs/libgeodecomp/libgeodecomp-0.3.1.ebuild b/sci-libs/libgeodecomp/libgeodecomp-0.3.1.ebuild
index cb6d7b6c66e4..0f2d29fa16e2 100644
--- a/sci-libs/libgeodecomp/libgeodecomp-0.3.1.ebuild
+++ b/sci-libs/libgeodecomp/libgeodecomp-0.3.1.ebuild
@@ -13,16 +13,20 @@ SRC_URI="http://www.libgeodecomp.org/archive/${P}.tar.bz2"
SLOT="0"
LICENSE="Boost-1.0"
KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="doc"
+IUSE="doc examples"
RDEPEND=">=dev-libs/boost-1.48"
DEPEND="${RDEPEND}
- dev-libs/libflatarray"
+ dev-libs/libflatarray
+ examples? ( !sys-cluster/mpich2 )"
S="${WORKDIR}/${P}/src"
src_prepare() {
epatch "${FILESDIR}/libflatarray.patch"
+ if ! use examples ; then
+ sed -i 's/examples//g' CMakeLists.txt
+ fi
}
src_compile() {