From a4b4eda4f05a27ec88aac43fe31eccedb75b8d9d Mon Sep 17 00:00:00 2001 From: jlam Date: Tue, 22 May 2001 05:50:51 +0000 Subject: Fix library path to readline lib and add the link-* targets to pre-configure as advised by devel/readline/Makefile.readline. --- devel/cdecl/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'devel/cdecl') diff --git a/devel/cdecl/Makefile b/devel/cdecl/Makefile index e095c7a4039..173649ccd8f 100644 --- a/devel/cdecl/Makefile +++ b/devel/cdecl/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2001/05/22 05:48:14 jlam Exp $ +# $NetBSD: Makefile,v 1.6 2001/05/22 05:50:51 jlam Exp $ # DISTNAME= cdecl-2.5 @@ -17,10 +17,12 @@ ALL_TARGET= cdecl .include "../../devel/readline/Makefile.readline" CFLAGS+= -I${WRKINCDIR} -LDFLAGS+= -L${WRKINCDIR} +LDFLAGS+= -L${WRKLIBDIR} EGDIR= ${PREFIX}/share/examples/cdecl +pre-configure: link-readline-headers link-readline-libs + post-install: ${INSTALL_DATA_DIR} ${EGDIR} ${INSTALL_DATA} ${WRKSRC}/testset* ${EGDIR} -- cgit v1.2.3