aboutsummaryrefslogtreecommitdiff
path: root/science
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2007-07-14 10:16:23 +0000
committerMaho Nakata <maho@FreeBSD.org>2007-07-14 10:16:23 +0000
commit78099ded197a2d06e8d6f09cea30926afbd6edc3 (patch)
treec05748556a3cb67d46e6270da4a24b087331330c /science
parent2fa992f987870f06a6ee761730e0674501309a64 (diff)
downloadports-78099ded197a2d06e8d6f09cea30926afbd6edc3.tar.gz
ports-78099ded197a2d06e8d6f09cea30926afbd6edc3.zip
Notes
Diffstat (limited to 'science')
-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`/../../..