summaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authordmcmahill <dmcmahill>2000-12-31 18:09:54 +0000
committerdmcmahill <dmcmahill>2000-12-31 18:09:54 +0000
commita06c7314a7e978fd407d36c9da2a3234e3bf879f (patch)
tree046a1496b8884328549645b7ae9446daf3a3cebd /cad
parent7bcef34d5ac16d2a80701cf3c57d796c222ca215 (diff)
downloadpkgsrc-a06c7314a7e978fd407d36c9da2a3234e3bf879f.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