diff options
Diffstat (limited to 'science/2dhf/Makefile')
-rw-r--r-- | science/2dhf/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/science/2dhf/Makefile b/science/2dhf/Makefile index c576446368ea..e187cb7a287e 100644 --- a/science/2dhf/Makefile +++ b/science/2dhf/Makefile @@ -14,8 +14,10 @@ COMMENT= A Numerical Hartree-Fock Program for Diatomic Molecules BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash .if defined(WITH_INTEL) -USE_FORTRAN= ifort +USES+= fortran:ifort BUILD_DEPENDS+= ${LOCALBASE}/intel_cc_80/bin/icc:${PORTSDIR}/lang/icc +.else +USES+= fortran .endif .if exists(${LOCALBASE}/lib/libatlas.so) && !defined(WITH_BLAS) @@ -30,8 +32,6 @@ LIB_DEPENDS+= lapack.4:${PORTSDIR}/math/lapack BLAS= -lblas .endif -USE_FORTRAN= yes - .if defined(WITH_OPTIMIZED_FLAGS) FFLAGS+= -O3 -ffast-math -finline-functions -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -malign-double .if (${MACHINE_ARCH} == "i386") |