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
commit7394a9bc53e0dbd86a523224c1560f1245d7a5af (patch)
tree046a1496b8884328549645b7ae9446daf3a3cebd /cad
parent8e682e4cbf7785b629a21ab038c2e4b6966aaf85 (diff)
downloadpkgsrc-7394a9bc53e0dbd86a523224c1560f1245d7a5af.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