summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2010-12-16 15:54:28 +0000
committerJustin Lecher <jlec@gentoo.org>2010-12-16 15:54:28 +0000
commita3b9ca51833e70ddbf268a3a6d7e99729fd699d4 (patch)
treef99965c435ad9f2612ce0a4c1b66b3b524a33141 /sys-cluster/mpe2/mpe2-1.0.6_p1-r1.ebuild
parentRemoval of fortran.eclass, #348851 (diff)
downloadgentoo-2-a3b9ca51833e70ddbf268a3a6d7e99729fd699d4.tar.gz
gentoo-2-a3b9ca51833e70ddbf268a3a6d7e99729fd699d4.tar.bz2
gentoo-2-a3b9ca51833e70ddbf268a3a6d7e99729fd699d4.zip
Removal of fortran.eclass, #348851
(Portage version: 2.2.0_alpha8/cvs/Linux x86_64)
Diffstat (limited to 'sys-cluster/mpe2/mpe2-1.0.6_p1-r1.ebuild')
-rw-r--r--sys-cluster/mpe2/mpe2-1.0.6_p1-r1.ebuild11
1 files changed, 3 insertions, 8 deletions
diff --git a/sys-cluster/mpe2/mpe2-1.0.6_p1-r1.ebuild b/sys-cluster/mpe2/mpe2-1.0.6_p1-r1.ebuild
index 33e6c36a73b3..099f663eab01 100644
--- a/sys-cluster/mpe2/mpe2-1.0.6_p1-r1.ebuild
+++ b/sys-cluster/mpe2/mpe2-1.0.6_p1-r1.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/mpe2/mpe2-1.0.6_p1-r1.ebuild,v 1.2 2010/09/13 22:20:52 jsbronder Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/mpe2/mpe2-1.0.6_p1-r1.ebuild,v 1.3 2010/12/16 15:54:28 jlec Exp $
EAPI=2
-inherit fortran eutils java-utils-2
+inherit eutils java-utils-2 toolchain-funcs
MY_P=${P/_/}
DESCRIPTION="MPI development tools"
@@ -47,11 +47,6 @@ pkg_setup() {
die "Unknown MPI implementation"
fi
- if use fortran ; then
- FORTRAN="g77 gfortran ifort ifc"
- fortran_pkg_setup
- fi
-
export JFLAGS="${JFLAGS} $(java-pkg_javac-args)"
if [[ "${MPE_IMP}" == openmpi ]] && [ -z "${MPE2_FORCE_OPENMPI_TEST}" ]; then
@@ -78,7 +73,7 @@ src_configure() {
if use fortran; then
c="${c} --with-mpif77=/usr/bin/mpif77"
- export F77=${FORTRANC}
+ export F77=$(tc-getFC)
else
c="${c} --disable-f77"
fi