From 4fe332f7fef46b7ac8f6264c44144d0e47ee0f49 Mon Sep 17 00:00:00 2001 From: Andreas Schäfer Date: Tue, 29 Jan 2013 21:40:47 +0100 Subject: fixed compilation with newer cmake, removed currently unused use flags --- sci-libs/libgeodecomp/libgeodecomp-0.1.0.ebuild | 28 ++++++++----------------- 1 file changed, 9 insertions(+), 19 deletions(-) (limited to 'sci-libs/libgeodecomp/libgeodecomp-0.1.0.ebuild') diff --git a/sci-libs/libgeodecomp/libgeodecomp-0.1.0.ebuild b/sci-libs/libgeodecomp/libgeodecomp-0.1.0.ebuild index 7ed246730..117f06b77 100644 --- a/sci-libs/libgeodecomp/libgeodecomp-0.1.0.ebuild +++ b/sci-libs/libgeodecomp/libgeodecomp-0.1.0.ebuild @@ -25,22 +25,14 @@ HOMEPAGE="http://www.libgeodecomp.org" LICENSE="LGPL-3.0" SLOT="0" -IUSE="cuda doc mpi opencl" +IUSE="mpi" -RDEPEND=">=dev-libs/boost-1.48 - cuda? ( dev-util/nvidia-cuda-toolkit ) - mpi? ( || ( - sys-cluster/openmpi[cxx] - sys-cluster/mpich2[cxx] - ) ) - opencl? ( virtual/opencl )" -DEPEND="${RDEPEND} - doc? ( app-doc/doxygen ) -" +RDEPEND=">=dev-libs/boost-1.48" +DEPEND="${RDEPEND}" - - -# -D FEATURE_QT=false -D FEATURE_OPENCL=false -D FEATURE_CUDA=false mpi +src_prepare() { + epatch "${FILESDIR}/cmake.patch" +} src_compile() { cmake-utils_src_compile @@ -51,10 +43,8 @@ src_compile() { src_install() { cmake-utils_src_install - - dodoc README - if ( use doc); then - dohtml doc/html/* - fi } +src_test() { + cmake-utils_src_compile test +} -- cgit v1.2.3-65-gdbad