diff options
author | jlam <jlam@pkgsrc.org> | 2001-05-22 05:50:51 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2001-05-22 05:50:51 +0000 |
commit | 328058611a1f3c1bbf3ab1a94c578fc6ddfadf8f (patch) | |
tree | e69e8982f46c6b80b3439cbf98d4ebcf3c62f423 /devel/cdecl/Makefile | |
parent | 78901ef083367dd2f212ab5bb3b6bfa831ba0c83 (diff) | |
download | pkgsrc-328058611a1f3c1bbf3ab1a94c578fc6ddfadf8f.tar.gz |
Fix library path to readline lib and add the link-* targets to
pre-configure as advised by devel/readline/Makefile.readline.
Diffstat (limited to 'devel/cdecl/Makefile')
-rw-r--r-- | devel/cdecl/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
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} |