From 386cf71f38390b4c23e67f3f947261bcda2221a8 Mon Sep 17 00:00:00 2001 From: jtb Date: Wed, 11 Apr 2001 20:11:12 +0000 Subject: Patch configure rather than configure.in. Minor face-lift to Makefile. --- lang/swi-prolog/Makefile | 19 ++++++++----------- lang/swi-prolog/files/patch-sum | 6 +++--- lang/swi-prolog/patches/patch-ab | 10 +++++----- 3 files changed, 16 insertions(+), 19 deletions(-) (limited to 'lang/swi-prolog') 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` -- cgit v1.2.3