aboutsummaryrefslogtreecommitdiffstats
path: root/biology
diff options
context:
space:
mode:
authormaho <maho@FreeBSD.org>2007-01-12 20:21:21 +0800
committermaho <maho@FreeBSD.org>2007-01-12 20:21:21 +0800
commit42b7eab17d42076a59666016b20c5a4e38f052b4 (patch)
treef8014fb0bc785a965878763750fb8e46f1f770e8 /biology
parentf2c0c3a368b4ac8f775fd7382376708a44b5756e (diff)
downloadfreebsd-ports-gnome-42b7eab17d42076a59666016b20c5a4e38f052b4.tar.gz
freebsd-ports-gnome-42b7eab17d42076a59666016b20c5a4e38f052b4.tar.zst
freebsd-ports-gnome-42b7eab17d42076a59666016b20c5a4e38f052b4.zip
* Migrate to gfortran.
* Bump port revision.
Diffstat (limited to 'biology')
-rw-r--r--biology/tinker/Makefile5
-rw-r--r--biology/tinker/files/patch-aa4
2 files changed, 7 insertions, 2 deletions
diff --git a/biology/tinker/Makefile b/biology/tinker/Makefile
index 9fb00255526f..1f67d98d058a 100644
--- a/biology/tinker/Makefile
+++ b/biology/tinker/Makefile
@@ -7,6 +7,7 @@
PORTNAME= tinker
PORTVERSION= 4.2.20040908
+PORTREVISION= 1
CATEGORIES= biology
MASTER_SITES= ftp://dasher.wustl.edu/pub/
DISTNAME= ${PORTNAME}
@@ -32,6 +33,10 @@ SAMPLES= README clean.make *.1st *.boat *.cell *.chair *.dat *.dyn0 \
BENCHES= README *.dyn0 *.log *.key *.run *.xyz results*
.include <bsd.port.pre.mk>
+BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
+FC= gfortran42
+F77= gfortran42
+MAKE_ENV+= FC="${FC}" F77="${F77}"
.if defined(WITH_OPTIMIZED_FLAGS)
FFLAGS+= -O3 -ffast-math -finline-functions -fomit-frame-pointer -funroll-loops -fexpensive-optimizations
diff --git a/biology/tinker/files/patch-aa b/biology/tinker/files/patch-aa
index 3ac9a9e15f8a..9bb922e07cf5 100644
--- a/biology/tinker/files/patch-aa
+++ b/biology/tinker/files/patch-aa
@@ -37,9 +37,9 @@
+
+F77 = ${FC}
+LIBS =
-+F77FLAGS = -Wno-globals -fno-globals -c -w
++F77FLAGS = -c %%FFLAGS%%
+LINKFLAGS =
-+OPTFLAGS = %%FFLAGS%%
++OPTFLAGS =
+LIBFLAGS = -rcuv
+
#################################################################