aboutsummaryrefslogtreecommitdiff
path: root/biology
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-05-24 02:01:41 +0000
committerSteve Price <steve@FreeBSD.org>1999-05-24 02:01:41 +0000
commite13591e2ec6b5e41da75edd3b5e3102107fbe76c (patch)
treee48c16232292a9e2f69ad64b6026b1e6738f143e /biology
parent570bd445b2b2f4921a71fc8b24c3f032a2e4cbb0 (diff)
downloadports-e13591e2ec6b5e41da75edd3b5e3102107fbe76c.tar.gz
ports-e13591e2ec6b5e41da75edd3b5e3102107fbe76c.zip
Notes
Diffstat (limited to 'biology')
-rw-r--r--biology/tinker/Makefile30
-rw-r--r--biology/tinker/files/patch-aa17
2 files changed, 29 insertions, 18 deletions
diff --git a/biology/tinker/Makefile b/biology/tinker/Makefile
index 2c9cf9926b24..b4161f6fcbda 100644
--- a/biology/tinker/Makefile
+++ b/biology/tinker/Makefile
@@ -3,32 +3,36 @@
# Date Created: 26 August 1998
# Whom: Glenn Johnson
#
-# $Id: Makefile,v 1.1.1.1 1998/11/17 04:53:17 jkoshy Exp $
+# $Id: Makefile,v 1.2 1998/11/18 02:10:54 jkoshy Exp $
#
-DISTNAME= tinker
-PKGNAME= tinker-3.6
-CATEGORIES= biology
-MASTER_SITES= ftp://dasher.wustl.edu/pub/
+DISTNAME= tinker
+PKGNAME= tinker-3.6
+CATEGORIES= biology
+MASTER_SITES= ftp://dasher.wustl.edu/pub/
-MAINTAINER= gjohnson@nola.srrc.usda.gov
+MAINTAINER= gjohnson@nola.srrc.usda.gov
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 400005
LIB_DEPENDS= U77:${PORTSDIR}/devel/libU77
# If you have EGCS installed and wish to use it, do the following:
# a) comment out the LIB_DEPENDS line above and uncomment the following line
#BUILD_DEPENDS= g77:${PORTSDIR}/lang/egcs
# b) set env variable 'FC' to 'g77' before running `make'
+.else
+MAKE_ENV+= HAVE_G2C=yes
+.endif
-.include <bsd.port.pre.mk>
-
-WRKSRC= ${WRKDIR}/tinker/source
+WRKSRC= ${WRKDIR}/tinker/source
-MAKEFILE= ${WRKDIR}/tinker/make/Makefile
-ALL_TARGET= all listing
-INSTALL_TARGET= rename
+MAKEFILE= ${WRKDIR}/tinker/make/Makefile
+ALL_TARGET= all listing
+INSTALL_TARGET= rename
-RESTRICTED= author requests no distribution except from his FTP site
+RESTRICTED= author requests no distribution except from his FTP site
post-install:
${MKDIR} ${PREFIX}/share/tinker/params
diff --git a/biology/tinker/files/patch-aa b/biology/tinker/files/patch-aa
index 455841a57a8e..fecd6d99f52c 100644
--- a/biology/tinker/files/patch-aa
+++ b/biology/tinker/files/patch-aa
@@ -1,5 +1,5 @@
*** ../make/Makefile.orig Sat Apr 11 11:38:14 1998
---- ../make/Makefile Sat Nov 14 02:05:02 1998
+--- ../make/Makefile Sat May 22 15:08:09 1999
***************
*** 9,16 ****
##
@@ -71,7 +71,7 @@
## Machine: Silicon Graphics
***************
*** 104,109 ****
---- 104,134 ----
+--- 104,141 ----
#diagq.o:
# ${F77} ${F77FLAGS} -ffast-math diagq.f
@@ -86,7 +86,11 @@
+ RM = /bin/rm
+
+ .if ${FC}==f77
++ .if !defined(HAVE_G2C)
+ LIBS = -lU77
++ .else
++ LIBS = -lg2c
++ .endif
+ F77FLAGS = -NL400 -c
+ LINKFLAGS = -L${PREFIX}/lib
+ .elseif ${FC}==g77
@@ -95,7 +99,10 @@
+ LINKFLAGS =
+ .endif
+
-+ OPTFLAGS = ${FFLAGS} -ffast-math -malign-double
++ OPTFLAGS = ${FFLAGS} -ffast-math
++ .if ${MACHINE_ARCH} == "i386"
++ OPTFLAGS+= -malign-double
++ .endif
+ LIBFLAGS = -rcuv
+ diagq.o:
+ ${F77} ${F77FLAGS} -ffast-math diagq.f
@@ -105,7 +112,7 @@
#################################################################
***************
*** 766,771 ****
---- 791,797 ----
+--- 798,804 ----
volume2.o \
writeout.o \
xyzatm.o
@@ -165,7 +172,7 @@
remove_links:
rm -f $(LINKDIR)/alchemy
---- 883,932 ----
+--- 890,939 ----
${F77} ${LINKFLAGS} -o xyzsybyl.x xyzsybyl.o libtinker.a ${LIBS}
rename: