diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2012-08-08 17:11:25 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2012-08-08 17:11:25 +0000 |
commit | c6f89c54f1b5c1756e00c2040b8f32a1a54e713a (patch) | |
tree | dec223c36f3afb3e80168cc3f86a380994963b26 /sci-libs/gerris/gerris-20120731.ebuild | |
parent | Workaround to make test pass with ruby19 and rake 0.8. This is already fixed ... (diff) | |
download | historical-c6f89c54f1b5c1756e00c2040b8f32a1a54e713a.tar.gz historical-c6f89c54f1b5c1756e00c2040b8f32a1a54e713a.tar.bz2 historical-c6f89c54f1b5c1756e00c2040b8f32a1a54e713a.zip |
Restricting test because it requires pre-installation of gerris. Added more mpi flag requirements, and a patch to compile with hypre when mpi is not set
Package-Manager: portage-2.2.0_alpha120/cvs/Linux x86_64
Diffstat (limited to 'sci-libs/gerris/gerris-20120731.ebuild')
-rw-r--r-- | sci-libs/gerris/gerris-20120731.ebuild | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/sci-libs/gerris/gerris-20120731.ebuild b/sci-libs/gerris/gerris-20120731.ebuild index 7732277a4ccc..82b465505371 100644 --- a/sci-libs/gerris/gerris-20120731.ebuild +++ b/sci-libs/gerris/gerris-20120731.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/gerris/gerris-20120731.ebuild,v 1.1 2012/08/02 21:30:17 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/gerris/gerris-20120731.ebuild,v 1.2 2012/08/08 17:11:25 bicatali Exp $ EAPI=4 -inherit autotools eutils flag-o-matic +inherit eutils flag-o-matic autotools MYP=${P/-20/-snapshot-} @@ -26,8 +26,8 @@ RDEPEND="dev-libs/glib:2 sci-libs/netcdf sci-libs/gsl sci-libs/gts - sci-libs/hypre - sci-libs/lis + sci-libs/hypre[mpi?] + sci-libs/lis[mpi?] sci-libs/proj >=sci-libs/fftw-3 virtual/lapack @@ -37,6 +37,14 @@ DEPEND="${RDEPEND} S="${WORKDIR}/${MYP}" +# buggy tests, need extra packages and require gerris to be installed +RESTRICT=test + +src_prepare() { + epatch "${FILESDIR}"/${PN}-hypre-no-mpi.patch + eautoreconf +} + src_configure() { append-cppflags "-I${EPREFIX}/usr/include/hypre" econf \ |