From 7394a9bc53e0dbd86a523224c1560f1245d7a5af Mon Sep 17 00:00:00 2001 From: dmcmahill Date: Sun, 31 Dec 2000 18:09:54 +0000 Subject: 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. --- cad/gwave/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'cad') 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 -- cgit v1.2.3