aboutsummaryrefslogtreecommitdiff
path: root/biology/tinker
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2007-01-12 12:21:21 +0000
committerMaho Nakata <maho@FreeBSD.org>2007-01-12 12:21:21 +0000
commit667bd5ea91a986863280e0cb63e4e1ef04916b9f (patch)
tree9aabeb377362c88e1ae90b7d33349e429af3de3a /biology/tinker
parent63862f7aea648b244e5b0344f5461de824a3345e (diff)
downloadports-667bd5ea91a986863280e0cb63e4e1ef04916b9f.tar.gz
ports-667bd5ea91a986863280e0cb63e4e1ef04916b9f.zip
Notes
Diffstat (limited to 'biology/tinker')
-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
+
#################################################################