summaryrefslogtreecommitdiff
path: root/lang/swi-prolog
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2002-04-01 15:09:44 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2002-04-01 15:09:44 +0000
commit9a18f96a5e9c6654e1439b9351392fafe3474273 (patch)
treee9833d88f5bf75a93f685bf95a9ec10a766877f4 /lang/swi-prolog
parent6b675198b74df4a1e8c6ca38fe8ff842eca24cc4 (diff)
downloadpkgsrc-9a18f96a5e9c6654e1439b9351392fafe3474273.tar.gz
fix PLIST for alpha and sparc64
Diffstat (limited to 'lang/swi-prolog')
-rw-r--r--lang/swi-prolog/Makefile9
-rw-r--r--lang/swi-prolog/PLIST4
2 files changed, 10 insertions, 3 deletions
diff --git a/lang/swi-prolog/Makefile b/lang/swi-prolog/Makefile
index 8fdedd0c060..6bd2f7725e6 100644
--- a/lang/swi-prolog/Makefile
+++ b/lang/swi-prolog/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2002/03/18 06:16:37 fredb Exp $
+# $NetBSD: Makefile,v 1.15 2002/04/01 15:09:44 dmcmahill Exp $
DISTNAME= pl-lite-4.0.9
PKGNAME= swi-prolog-4.0.9
@@ -24,6 +24,13 @@ PLIST_SUBST+= SWIPL=${SWIPL}
PLIST_SUBST+= SWILIBDIR=${DISTNAME:S,pl-lite,'${SWIPL}',}
PLIST_SUBST+= APPEND_ELF=${APPEND_ELF}
+.include "../../mk/bsd.prefs.mk"
+.if ${MACHINE_ARCH} == alpha || ${MACHINE_ARCH} == sparc64
+PLIST_SUBST+= BITS=64
+.else
+PLIST_SUBST+= BITS=32
+.endif
+
.include "../../devel/ncurses/buildlink.mk"
.include "../../devel/readline/buildlink.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/lang/swi-prolog/PLIST b/lang/swi-prolog/PLIST
index c14f63ebde6..c816bca2193 100644
--- a/lang/swi-prolog/PLIST
+++ b/lang/swi-prolog/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2002/03/18 06:16:37 fredb Exp $
+@comment $NetBSD: PLIST,v 1.4 2002/04/01 15:09:44 dmcmahill Exp $
bin/${SWIPL}
bin/plld
bin/plrc
@@ -27,7 +27,7 @@ lib/${SWILIBDIR}/boot/syspred.pl
lib/${SWILIBDIR}/boot/toplevel.pl
lib/${SWILIBDIR}/boot/topvars.pl
lib/${SWILIBDIR}/boot/writef.pl
-lib/${SWILIBDIR}/boot32.prc
+lib/${SWILIBDIR}/boot${BITS}.prc
lib/${SWILIBDIR}/include/SWI-Prolog.h
lib/${SWILIBDIR}/include/SWI-Stream.h
lib/${SWILIBDIR}/include/stub.c