summaryrefslogtreecommitdiff
path: root/graphics/scigraphica
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-09-24 15:31:44 +0000
committerjlam <jlam@pkgsrc.org>2004-09-24 15:31:44 +0000
commite34bf869df44c5ded1088a07a106ed31ee7d7017 (patch)
treec2fbb259d87b037ceba78617f961a5acf31012c6 /graphics/scigraphica
parent74b4e1b96828651575f9349b719aecb9bd60524d (diff)
downloadpkgsrc-e34bf869df44c5ded1088a07a106ed31ee7d7017.tar.gz
Workaround stupidity in the scigraphica configure script by explicitly
specifying the library and header paths for readline. Otherwise, the configure script will dumbly pass "-I -I" and "-L -L" to the compiler, which breaks libtool.
Diffstat (limited to 'graphics/scigraphica')
-rw-r--r--graphics/scigraphica/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/graphics/scigraphica/Makefile b/graphics/scigraphica/Makefile
index 20be70cf6e3..ab4e41ec106 100644
--- a/graphics/scigraphica/Makefile
+++ b/graphics/scigraphica/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2004/09/21 15:10:26 jlam Exp $
+# $NetBSD: Makefile,v 1.26 2004/09/24 15:31:44 jlam Exp $
#
DISTNAME= scigraphica-0.8.0
@@ -18,6 +18,10 @@ USE_GNU_READLINE= YES
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --without-gnome
+CONFIGURE_ARGS+= --with-readline-include-path=${BUILDLINK_PREFIX.readline}/include
+CONFIGURE_ARGS+= --with-readline-path=${BUILDLINK_PREFIX.readline}/lib
+CONFIGURE_ARGS+= --with-termcap-include-path=${BUILDLINK_PREFIX.readline}/include
+CONFIGURE_ARGS+= --with-termcap-path=${BUILDLINK_PREFIX.readline}/lib
CONFIGURE_ENV+= PYTHONBIN=${PYTHONBIN}
USE_LIBTOOL= YES