sci-libs/exodusii: Require a fortran compiler support for tests
authorJustin Lecher <jlec@gentoo.org>
Thu, 18 Feb 2016 16:34:24 +0000 (17:34 +0100)
committerJustin Lecher <jlec@gentoo.org>
Thu, 18 Feb 2016 16:34:32 +0000 (17:34 +0100)
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>
sci-libs/exodusii/exodusii-6.02.ebuild

index fd65fa986058e985af0c75d17d1203b0aa72811b..6eec329ec11987ce3d340d00b1cb8a2ead19db3d 100644 (file)
@@ -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}