summaryrefslogtreecommitdiff
path: root/lang/swi-prolog
diff options
context:
space:
mode:
authorjtb <jtb@pkgsrc.org>2001-03-20 13:43:26 +0000
committerjtb <jtb@pkgsrc.org>2001-03-20 13:43:26 +0000
commita8633483d48fc042d1fca4be3a91f40d2024cbfa (patch)
tree0fcdf5fe6b8ac475d08df34c502f4eb0381e11dc /lang/swi-prolog
parent701a3bcf0c61ffbdabf8477d2f1abc922f0eedc8 (diff)
downloadpkgsrc-a8633483d48fc042d1fca4be3a91f40d2024cbfa.tar.gz
Make sure configure can find the readline headers.
Diffstat (limited to 'lang/swi-prolog')
-rw-r--r--lang/swi-prolog/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/lang/swi-prolog/Makefile b/lang/swi-prolog/Makefile
index 33c269ce0ac..eeef0d9071f 100644
--- a/lang/swi-prolog/Makefile
+++ b/lang/swi-prolog/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2001/02/21 14:07:29 jtb Exp $
+# $NetBSD: Makefile,v 1.3 2001/03/20 13:43:26 jtb Exp $
DISTNAME= pl-lite-4.0.0
PKGNAME= swi-prolog-4.0.0
@@ -23,6 +23,8 @@ CONFIGURE_ENV+= "BUILDARCH=${MACHINE_PLATFORM}"
SWIPL= swi-prolog
CONFIGURE_ENV+= "PL=${SWIPL}"
CPPFLAGS+= -D__unix__=1
+EVAL_PREFIX+= READLINE_PREFIX=readline
+CPPFLAGS+= -I${READLINE_PREFIX}/include
CONFIGURE_ENV+= "CPPFLAGS=${CPPFLAGS}"
PLIST_SUBST+= SWIPL=${SWIPL}