summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorjtb <jtb>2001-04-11 20:11:12 +0000
committerjtb <jtb>2001-04-11 20:11:12 +0000
commit386cf71f38390b4c23e67f3f947261bcda2221a8 (patch)
tree0721fbaae72e330333eec4218e9af6105e23a0e0 /lang
parentd520d8213bce2ee3398be5f4e193c314b2bbfbf4 (diff)
downloadpkgsrc-386cf71f38390b4c23e67f3f947261bcda2221a8.tar.gz
Patch configure rather than configure.in. Minor face-lift to Makefile.
Diffstat (limited to 'lang')
-rw-r--r--lang/swi-prolog/Makefile19
-rw-r--r--lang/swi-prolog/files/patch-sum6
-rw-r--r--lang/swi-prolog/patches/patch-ab10
3 files changed, 16 insertions, 19 deletions
diff --git a/lang/swi-prolog/Makefile b/lang/swi-prolog/Makefile
index f3918561e68..8088baded09 100644
--- a/lang/swi-prolog/Makefile
+++ b/lang/swi-prolog/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2001/03/27 03:20:04 hubertf Exp $
+# $NetBSD: Makefile,v 1.5 2001/04/11 20:11:12 jtb Exp $
DISTNAME= pl-lite-4.0.0
PKGNAME= swi-prolog-4.0.0
@@ -9,28 +9,25 @@ MAINTAINER= jtb@netbsd.org
HOMEPAGE= http://www.swi.psy.uva.nl/projects/SWI-Prolog/
COMMENT= ISO/Edinburgh-style Prolog compiler
-DEPENDS+= readline-[0-9]*:../../devel/readline
-BUILD_DEPENDS+= autoconf-2.13:../../devel/autoconf
+DEPENDS+= readline>=4.0:../../devel/readline
WRKSRC= ${WRKDIR}/${DISTNAME:S,-lite,,}
DIST_SUBDIR= swi-prolog
-USE_CURSES= #defined
+GNU_CONFIGURE= yes
+
+USE_CURSES= yes
REPLACE_NCURSES= ${WRKSRC}/src/configure
-GNU_CONFIGURE= #defined
-CONFIGURE_ENV+= "BUILDARCH=${MACHINE_PLATFORM}"
SWIPL= swi-prolog
-CONFIGURE_ENV+= "PL=${SWIPL}"
+CONFIGURE_ENV+= PL="${SWIPL}"
CPPFLAGS+= -D__unix__=1
+
EVAL_PREFIX+= READLINE_PREFIX=readline
CPPFLAGS+= -I${READLINE_PREFIX}/include
-CONFIGURE_ENV+= "CPPFLAGS=${CPPFLAGS}"
+CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}"
PLIST_SUBST+= SWIPL=${SWIPL}
PLIST_SUBST+= SWILIBDIR=${DISTNAME:S,pl-lite,'${SWIPL}',}
-pre-configure:
- cd ${WRKSRC}/src && ${LOCALBASE}/bin/autoconf
-
.include "../../mk/bsd.pkg.mk"
diff --git a/lang/swi-prolog/files/patch-sum b/lang/swi-prolog/files/patch-sum
index 8d5fc08e13e..1b4f50cf9ed 100644
--- a/lang/swi-prolog/files/patch-sum
+++ b/lang/swi-prolog/files/patch-sum
@@ -1,4 +1,4 @@
-$NetBSD: patch-sum,v 1.1.1.1 2001/02/20 20:03:53 jtb Exp $
+$NetBSD: patch-sum,v 1.2 2001/04/11 20:11:13 jtb Exp $
-MD5 (patch-aa) = f2a2021cb7186c093f5a326443ef10fc
-MD5 (patch-ab) = 17854994990b2de9c8b3abffb57fd875
+SHA1 (patch-aa) = 179401271ffd2b0336584be07a744e39a1a81197
+SHA1 (patch-ab) = 3de4db0ab11a18381800579db99424fdda7d37e4
diff --git a/lang/swi-prolog/patches/patch-ab b/lang/swi-prolog/patches/patch-ab
index 5c35cacaa92..2d080b38bee 100644
--- a/lang/swi-prolog/patches/patch-ab
+++ b/lang/swi-prolog/patches/patch-ab
@@ -1,13 +1,13 @@
-$NetBSD: patch-ab,v 1.1.1.1 2001/02/20 20:03:53 jtb Exp $
+$NetBSD: patch-ab,v 1.2 2001/04/11 20:11:13 jtb Exp $
---- src/configure.in.orig Thu Feb 15 12:42:14 2001
-+++ src/configure.in
-@@ -30,7 +30,7 @@
+--- src/configure.orig Wed Apr 11 16:48:12 2001
++++ src/configure
+@@ -564,7 +564,7 @@
EXTRAOBJ=""
INSTALLTARGET=dv-install
-PL=pl
-+dnl PL=pl
++#PL=pl
RT=""
PLVERSION=`cat ../VERSION`