summaryrefslogtreecommitdiff
path: root/science/2dhf
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2007-07-14 01:14:56 +0000
committerMaho Nakata <maho@FreeBSD.org>2007-07-14 01:14:56 +0000
commitddb99ac49a71e0f5e25ab0af911744fe88a59d1d (patch)
treebea28e1e98df7b01abd4487b357244b4366914e6 /science/2dhf
parent- Update to 0.5 (diff)
Now we use USE_FORTRAN=yes to use FORTRAN compiler.
Notes
Notes: svn path=/head/; revision=195539
Diffstat (limited to 'science/2dhf')
-rw-r--r--science/2dhf/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/science/2dhf/Makefile b/science/2dhf/Makefile
index c27291c09de1..a10a64d9f4a6 100644
--- a/science/2dhf/Makefile
+++ b/science/2dhf/Makefile
@@ -18,7 +18,7 @@ COMMENT= A Numerical Hartree-Fock Program for Diatomic Molecules
BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash
.if defined(WITH_INTEL)
-BUILD_DEPENDS+= ${LOCALBASE}/intel_fc_80/bin/ifort:${PORTSDIR}/lang/ifc
+USE_FORTRAN= ifort
BUILD_DEPENDS+= ${LOCALBASE}/intel_cc_80/bin/icc:${PORTSDIR}/lang/icc
.endif
@@ -34,10 +34,7 @@ LIB_DEPENDS+= lapack.4:${PORTSDIR}/math/lapack
BLAS= -lblas
.endif
-WANT_FORTRAN= yes #dummy but future use
-BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
-FC= gfortran42
-F77= gfortran42
+USE_FORTRAN= yes
.if defined(WITH_OPTIMIZED_FLAGS)
FFLAGS+= -O3 -ffast-math -finline-functions -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -malign-double