summaryrefslogtreecommitdiff
path: root/math/gap/gap.package.mk
diff options
context:
space:
mode:
Diffstat (limited to 'math/gap/gap.package.mk')
-rw-r--r--math/gap/gap.package.mk12
1 files changed, 10 insertions, 2 deletions
diff --git a/math/gap/gap.package.mk b/math/gap/gap.package.mk
index 03639997c03..6f3fd7d49a9 100644
--- a/math/gap/gap.package.mk
+++ b/math/gap/gap.package.mk
@@ -1,12 +1,20 @@
-# $NetBSD: gap.package.mk,v 1.6 2002/12/31 13:02:33 cjep Exp $
+# $NetBSD: gap.package.mk,v 1.7 2003/01/05 12:43:01 cjep Exp $
#
# Set GAP_PKG_NAME in your Makefile. More may appear here later.
# Note that between nb1 == bug fix 3 and nb2 == bug fix 4 there are
# some interface changes
-DEPENDS+= gap>=4.3nb5:../../math/gap
+DEPENDS+= gap>=4.3nb6:../../math/gap
GAP_DIRECTORY= ${LOCALBASE}/lib/gap4.3
GAP_PKG_ROOT= ${GAP_DIRECTORY}/pkg
GAP_PKG_DIRECTORY= ${GAP_PKG_ROOT}/${GAP_PKG_NAME}
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}
+