From: SÅ‚awomir Lis Date: Fri, 28 Aug 2015 06:29:22 +0000 (+0200) Subject: Fixed #558714 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4319d12e7c0bbde77ac51dfc16989a6794d0ad26;p=gentoo.git Fixed #558714 Added 'examples' USE flag and conditional depend on sys-cluster/mpich2 Package-Manager: portage-2.2.20.1 --- 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() {