Now we use USE_FORTRAN=yes to use FORTRAN compiler.

This commit is contained in:
Maho Nakata 2007-07-14 01:14:56 +00:00
parent cec70e7364
commit ddb99ac49a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=195539
2 changed files with 3 additions and 9 deletions

View file

@ -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

View file

@ -16,10 +16,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= The Acoustic ToolBox includes four acoustic models
WRKSRC= ${WRKDIR}/at
WANT_FORTRAN= yes #dummy but future use
BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
FC= gfortran42
F77= gfortran42
USE_FORTRAN= yes
post-patch:
@${REINPLACE_CMD} -e "s|%%FC%%|${FC}|g" -e "s|%%F77%%|${F77}|g" -e "s|%%FFLAGS%%|${FFLAGS}|g" ${WRKSRC}/Bellhop/Makefile