aboutsummaryrefslogtreecommitdiff
path: root/biology
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-05-24 02:12:36 +0000
committerSteve Price <steve@FreeBSD.org>1999-05-24 02:12:36 +0000
commit2a4ca60b6eb4f468db22c71d4a3417e749626305 (patch)
treef9e9fa848b7436370c39489a3d53e8bee510e34c /biology
parentd1683da62d695ac6708a30756fa7abdf6aa9f764 (diff)
downloadports-2a4ca60b6eb4f468db22c71d4a3417e749626305.tar.gz
ports-2a4ca60b6eb4f468db22c71d4a3417e749626305.zip
Allow this port to be built on -current i386 boxes that have egcs' f77
compiler. Mark it broken for -current Alpha boxes.
Notes
Notes: svn path=/head/; revision=18964
Diffstat (limited to 'biology')
-rw-r--r--biology/platon/Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/biology/platon/Makefile b/biology/platon/Makefile
index 6d3b94b71f37..721f1a7aa83f 100644
--- a/biology/platon/Makefile
+++ b/biology/platon/Makefile
@@ -3,7 +3,7 @@
# Date created: 1999-04-22
# Whom: Ryo MIYAMOTO <rmiya@cc.hirosaki-u.ac.jp>
#
-# $Id$
+# $Id: Makefile,v 1.1.1.1 1999/05/07 06:56:51 taoka Exp $
#
DISTNAME= platon
@@ -24,6 +24,15 @@ TESTDATADIR= ABSORB_EXAMPLE ABSTOMPA_EXAMPLE ABSTOMPA_TEST ADDSYM_EXAMPLE \
ASYM_EXAMPLE DELABS_EXAMPLE MULABS_EXAMPLE PSICOR_EXAMPLE \
SQUEEZE_EXAMPLE
+.if ${MACHINE_ARCH} == "alpha"
+BROKEN= "/usr/libexec/elf/ld: platon.o: .got subsegment exceeds 64K (size 88552)"
+.endif
+
+.include <bsd.port.pre.mk>
+.if ${OSVERSION} >= 400004
+MAKE_ENV+= HAVE_G2C=yes
+.endif
+
pre-patch:
(cd ${WRKDIR}/${DISTNAME} && ${GUNZIP_CMD} platon.f.Z)
${CP} ${FILESDIR}/Makefile ${WRKDIR}/${DISTNAME}
@@ -55,4 +64,4 @@ do-install:
${PREFIX}/share/doc/platon/TEST/$${dirs} ; \
done
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>