diff options
author | Justin Lecher <jlec@gentoo.org> | 2016-02-20 15:54:06 +0100 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2016-02-20 16:39:18 +0100 |
commit | 464f91a53892bc24081d94f18afb5ecfd86defec (patch) | |
tree | edb321d1773da88846beda1eb1605fbd65016c8c /sci-libs/exodusii | |
parent | sys-devel/crossdev: Move gentoo-functions to RDEP, reported by slyfox (diff) | |
download | gentoo-464f91a53892bc24081d94f18afb5ecfd86defec.tar.gz gentoo-464f91a53892bc24081d94f18afb5ecfd86defec.tar.bz2 gentoo-464f91a53892bc24081d94f18afb5ecfd86defec.zip |
sci-libs/exodusii: Drop check for FORTRAN compiler if none is required
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.ebuild | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sci-libs/exodusii/exodusii-6.02.ebuild b/sci-libs/exodusii/exodusii-6.02.ebuild index 6eec329ec119..8b05c1c296bb 100644 --- a/sci-libs/exodusii/exodusii-6.02.ebuild +++ b/sci-libs/exodusii/exodusii-6.02.ebuild @@ -29,6 +29,14 @@ S="${WORKDIR}"/${MY_P}/${MY_PN} PATCHES=( "${FILESDIR}"/${PN}-5.26-multilib.patch ) +src_prepare() { + use test || \ + sed \ + -e 's:Fortran::g' \ + -i CMakeLists.txt || die + cmake-utils_src_prepare +} + src_configure() { local mycmakeargs=( -DLIB_INSTALL_DIR=$(get_libdir) |