diff options
Diffstat (limited to 'sci-libs/libgeodecomp')
-rw-r--r-- | sci-libs/libgeodecomp/libgeodecomp-0.3.1.ebuild | 8 |
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() { |