aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--math/elmer-umfpack/Makefile7
-rw-r--r--science/elmer-matc/Makefile5
2 files changed, 3 insertions, 9 deletions
diff --git a/math/elmer-umfpack/Makefile b/math/elmer-umfpack/Makefile
index 95e61283773c..a9044c015b04 100644
--- a/math/elmer-umfpack/Makefile
+++ b/math/elmer-umfpack/Makefile
@@ -16,12 +16,9 @@ PKGNAMEPREFIX= elmer-
MAINTAINER= araujo@FreeBSD.org
COMMENT= UMFPACK library used by ELMER FEM package
-WANT_FORTRAN=yes #dummy but future use
-BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
-FC= gfortran42
-F77= gfortran42
-CONFIGURE_ENV+= FC=${FC} F77=${FC}
+USE_FORTRAN= yes
GNU_CONFIGURE= yes
+CONFIGURE_ENV+= FC=${FC} F77=${FC}
ALL_TARGET=
# This should be looked up by autoconf
diff --git a/science/elmer-matc/Makefile b/science/elmer-matc/Makefile
index 0a6784c65147..bbbd4dfe1625 100644
--- a/science/elmer-matc/Makefile
+++ b/science/elmer-matc/Makefile
@@ -17,10 +17,7 @@ COMMENT= MatC language library used by ELMER FEM package
GNU_CONFIGURE= yes
ALL_TARGET=
-WANT_FORTRAN=yes #dummy but future use
-BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
-FC= gfortran42
-F77= gfortran42
+USE_FORTRAN= yes
PLIST_SUB= ARCH=${MACHINE_ARCH}