summaryrefslogtreecommitdiff
path: root/math/gap/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'math/gap/Makefile')
-rw-r--r--math/gap/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/math/gap/Makefile b/math/gap/Makefile
index f199c7f0d1a..b2961c33e83 100644
--- a/math/gap/Makefile
+++ b/math/gap/Makefile
@@ -1,12 +1,13 @@
-# $NetBSD: Makefile,v 1.8 2003/01/04 23:49:56 cjep Exp $
+# $NetBSD: Makefile,v 1.9 2003/01/05 12:43:01 cjep Exp $
#
DISTNAME= gap4r3
PKGNAME= gap-4.3
-PKGREVISION= 5
+PKGREVISION= 6
CATEGORIES= math
MASTER_SITES= ftp://ftp-gap.dcs.st-and.ac.uk/pub/gap/gap4/ \
ftp://ftp.math.rwth-aachen.de/pub/gap4/ \
+ ftp://pell.anu.edu.au/pub/algebra/gap4/ \
ftp://ftp.ccs.neu.edu/pub/mirrors/ftp-gap.dcs.st-and.ac.uk/pub/gap/gap4/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
fix4r3n4.tar.gz
@@ -27,6 +28,13 @@ ALL_TARGET= default
GAP_DIRECTORY= ${PREFIX}/lib/gap4.3
GAP_PLATFORM= ${MACHINE_GNU_PLATFORM}-cc
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} == SunOS
+GAP_PLATFORM= ${MACHINE_GNU_PLATFORM}2-${CC}
+.endif
+
+PLIST_SUBST= GAP_PLATFORM=${GAP_PLATFORM}
+
post-extract:
( cd ${WRKSRC} && ${GTAR} zxf ${DISTDIR}/fix4r3n4.tar.gz )