aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--science/abinit/Makefile6
-rw-r--r--science/dft++/Makefile5
2 files changed, 2 insertions, 9 deletions
diff --git a/science/abinit/Makefile b/science/abinit/Makefile
index 7e95e9dc664d..204259e294a0 100644
--- a/science/abinit/Makefile
+++ b/science/abinit/Makefile
@@ -14,12 +14,8 @@ MASTER_SITES= ${MASTER_SITE_LOCAL:S|%SUBDIR%|maho/abinit|} \
MAINTAINER= maho@FreeBSD.org
COMMENT= Abinit calculates electronic structure of systems
-WANT_FORTRAN= yes #dummy but future use
-BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
-FC= gfortran42
-F77= gfortran42
+USE_FORTRAN= yes
CONFIGURE_ENV+= FC="${FC}" F77="${F77}" FFLAGS="${FFLAGS}"
-
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_AUTOTOOLS= autoconf:259
diff --git a/science/dft++/Makefile b/science/dft++/Makefile
index ae12be000dda..6421944150ab 100644
--- a/science/dft++/Makefile
+++ b/science/dft++/Makefile
@@ -27,10 +27,7 @@ LIB_DEPENDS+= fftw.2:${PORTSDIR}/math/fftw
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_GMAKE= yes
-WANT_FORTRAN=yes #dummy but future use
-BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
-FC= gfortran42
-F77= gfortran42
+USE_FORTRAN= yes
FORTRANLIBS= -lgfortranbegin -lgfortran
GCCLIBDIR= -L`${CAT} ${WRKSRC}/LIBDIR` -L`${CAT} ${WRKSRC}/LIBDIR`/../../..