diff options
Diffstat (limited to 'science/mdynamix/Makefile')
-rw-r--r-- | science/mdynamix/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/science/mdynamix/Makefile b/science/mdynamix/Makefile index 7227c210b3f0..fe71bb4d552c 100644 --- a/science/mdynamix/Makefile +++ b/science/mdynamix/Makefile @@ -18,7 +18,7 @@ WRKSRC= ${WRKDIR}/mdynamix ALL_TARGET= default mpi MAKE_ARGS= FFLAGS="${FFLAGS} -ffast-math" LDFLAGS="${LDFLAGS}" -BINARY_ALIAS= make=gmake gfortran=gfortran${GCC_DEFAULT} +BINARY_ALIAS= make=gmake gfortran=${FC} PLIST_FILES= bin/md bin/mdp @@ -28,7 +28,7 @@ do-install: .include <bsd.port.pre.mk> -.if ${GCC_DEFAULT} >= 10 +.if ${FORTRAN_DEFAULT} == gfortran && ${GCC_DEFAULT} >= 10 # workaround for Type mismatch between actual argument at (1) and actual argument at (2) (INTEGER(4)/REAL(4)). # in theory, this should set FCFLAGS, but the port does not conform FFLAGS+= -fallow-argument-mismatch |