summaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2000-12-31 18:09:54 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2000-12-31 18:09:54 +0000
commit783ada5212985f77f08557fa9647015c14b6455a (patch)
tree046a1496b8884328549645b7ae9446daf3a3cebd /cad
parentc93e1e611db430ece90f980744bdff7fb79484e1 (diff)
downloadpkgsrc-783ada5212985f77f08557fa9647015c14b6455a.tar.gz
make sure the include and library paths are set to correctly find readline
headers and libraries. fixes recently noted compile problems seen by Huberts bulk i386 builds.
Diffstat (limited to 'cad')
-rw-r--r--cad/gwave/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/cad/gwave/Makefile b/cad/gwave/Makefile
index 1a6d316a28f..5635384c7ec 100644
--- a/cad/gwave/Makefile
+++ b/cad/gwave/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2000/12/28 16:59:44 dmcmahill Exp $
+# $NetBSD: Makefile,v 1.5 2000/12/31 18:09:54 dmcmahill Exp $
#
DISTNAME= gwave-20001123
@@ -12,6 +12,10 @@ DEPENDS+= guile-gtk>=0.19:../../devel/guile-gtk
DEPENDS+= plotutils-*:../../graphics/plotutils
GNU_CONFIGURE= YES
+# LDFLAGS to get -lreadline
+# CPPFLAGS to get -I${LOCALBASE}/include for readline/readline.h
+CPPFLAGS+= -I${LOCALBASE}/include
+CONFIGURE_ENV+= LDFLAGS+="${LDFLAGS}" CPPFLAGS="${CPPFLAGS}"
post-extract:
${CP} ${FILESDIR}/sp2sp.1 ${WRKSRC}/doc/sp2sp.1