diff options
author | dmcmahill <dmcmahill> | 2002-04-01 15:09:44 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill> | 2002-04-01 15:09:44 +0000 |
commit | d8a768853b7fe3e21a62b52812b4dd62ee0e8573 (patch) | |
tree | e9833d88f5bf75a93f685bf95a9ec10a766877f4 /lang/swi-prolog | |
parent | 2ae2a0ec0ef087f626b84ef9b848700bdc8f9a2a (diff) | |
download | pkgsrc-d8a768853b7fe3e21a62b52812b4dd62ee0e8573.tar.gz |
fix PLIST for alpha and sparc64
Diffstat (limited to 'lang/swi-prolog')
-rw-r--r-- | lang/swi-prolog/Makefile | 9 | ||||
-rw-r--r-- | lang/swi-prolog/PLIST | 4 |
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 |