aboutsummaryrefslogtreecommitdiffstats
path: root/biology/mopac/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'biology/mopac/Makefile')
-rw-r--r--biology/mopac/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/biology/mopac/Makefile b/biology/mopac/Makefile
index ebab5793fa9c..b631b19479db 100644
--- a/biology/mopac/Makefile
+++ b/biology/mopac/Makefile
@@ -23,11 +23,12 @@ USE_GMAKE= yes
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 400005
-BUILD_DEPENDS= fc:${PORTSDIR}/lang/f77
-MAKE_ARGS+= FC=fc
+BUILD_DEPENDS= ftn77:${PORTSDIR}/lang/f77
+MAKE_ARGS+= FC=ftn77
.else
MAKE_ARGS+= FC=f77
.endif
+MAKE_ARGS+= FFLAGS="${FFLAGS} -w" CFLAGS="${CFLAGS} -I${PREFIX}/include"
.if ${MACHINE_ARCH} == "i386"
FFLAGS+= -malign-double
.endif