aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-cluster/mpe2/mpe2-1.0.6_p1.ebuild')
-rw-r--r--sys-cluster/mpe2/mpe2-1.0.6_p1.ebuild11
1 files changed, 3 insertions, 8 deletions
diff --git a/sys-cluster/mpe2/mpe2-1.0.6_p1.ebuild b/sys-cluster/mpe2/mpe2-1.0.6_p1.ebuild
index 347724f38..dfe639ded 100644
--- a/sys-cluster/mpe2/mpe2-1.0.6_p1.ebuild
+++ b/sys-cluster/mpe2/mpe2-1.0.6_p1.ebuild
@@ -3,7 +3,7 @@
# $Header: $
MPI_PKG_NEED_IMPS="openmpi mpich2"
-inherit fortran eutils java-utils-2 mpi
+inherit eutils java-utils-2 mpi
MY_P=${P/_/}
DESCRIPTION="MPI development tools"
@@ -40,11 +40,6 @@ pkg_setup() {
MPE_IMP=$(mpi_pkg_base_imp)
- if use fortran ; then
- FORTRAN="g77 gfortran ifort ifc"
- fortran_pkg_setup
- fi
-
if use threads; then
if ! built_with_use ${CATEGORY}/${MPE_IMP} threads; then
eerror "Thread logging support in ${P} requires you build"
@@ -82,9 +77,9 @@ src_compile() {
local c="--with-mpicc=$(mpi_pkg_cc)"
local d=$(mpi_root)
- if [ -n "${FORTRANC}" -a -n "$(mpi_pkg_f77)" ]; then
+ if [ -n "$(tc-getFC)" -a -n "$(mpi_pkg_f77)" ]; then
c="${c} --with-mpif77=$(mpi_pkg_f77)"
- export F77=${FORTRANC}
+ export F77=$(tc-getFC)
else
c="${c} --disable-f77"
fi