summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2016-02-18 17:34:24 +0100
committerJustin Lecher <jlec@gentoo.org>2016-02-18 17:34:32 +0100
commitc1e0693ecf4a03af39c1b90750131f2fd5867417 (patch)
tree0614722f0c99acca10094ccbcc69ee3c19deb2cb /sci-libs/exodusii
parentsci-visualization/qtiplot: Add compatibility patch for gsl API cahnge (diff)
downloadgentoo-c1e0693ecf4a03af39c1b90750131f2fd5867417.tar.gz
gentoo-c1e0693ecf4a03af39c1b90750131f2fd5867417.tar.bz2
gentoo-c1e0693ecf4a03af39c1b90750131f2fd5867417.zip
sci-libs/exodusii: Require a fortran compiler support for tests
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=558392 Package-Manager: portage-2.2.27 Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'sci-libs/exodusii')
-rw-r--r--sci-libs/exodusii/exodusii-6.02.ebuild12
1 files changed, 8 insertions, 4 deletions
diff --git a/sci-libs/exodusii/exodusii-6.02.ebuild b/sci-libs/exodusii/exodusii-6.02.ebuild
index fd65fa986058..6eec329ec119 100644
--- a/sci-libs/exodusii/exodusii-6.02.ebuild
+++ b/sci-libs/exodusii/exodusii-6.02.ebuild
@@ -1,10 +1,12 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
-inherit cmake-utils multilib
+FORTRAN_NEEDED="test"
+
+inherit cmake-utils fortran-2 multilib
MY_PN="${PN%ii}"
MY_P="${MY_PN}-${PV}"
@@ -18,8 +20,10 @@ SLOT="0"
KEYWORDS="amd64 ~arm x86 ~amd64-linux ~x86-linux"
IUSE="static-libs test"
-DEPEND="sci-libs/netcdf[hdf5]"
-RDEPEND="${DEPEND}"
+RDEPEND="sci-libs/netcdf[hdf5]"
+DEPEND="${RDEPEND}
+ test? ( app-shells/tcsh )
+"
S="${WORKDIR}"/${MY_P}/${MY_PN}