diff options
author | jlam <jlam@pkgsrc.org> | 2002-08-26 18:28:20 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2002-08-26 18:28:20 +0000 |
commit | fdddecaaa8439db267249e35cd873f247755c150 (patch) | |
tree | 298aa63addb6ec38d03b8c9f4be12366b1b50e98 /devel/cdk/Makefile | |
parent | 47f5a05b84493d016d06f6c37f6bf15698eb233d (diff) | |
download | pkgsrc-fdddecaaa8439db267249e35cd873f247755c150.tar.gz |
Use buildlink2.
Diffstat (limited to 'devel/cdk/Makefile')
-rw-r--r-- | devel/cdk/Makefile | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/devel/cdk/Makefile b/devel/cdk/Makefile index c29981d840d..a9103e8bc05 100644 --- a/devel/cdk/Makefile +++ b/devel/cdk/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2001/08/27 14:35:07 tron Exp $ +# $NetBSD: Makefile,v 1.16 2002/08/26 18:28:20 jlam Exp $ # DISTNAME= latestCDK @@ -14,20 +14,13 @@ COMMENT= Curses Development Kit BUILD_DEPENDS+= autoconf>=2.13:../../devel/autoconf +USE_BUILDLINK2= yes +USE_NCURSES= yes USE_LIBTOOL= yes GNU_CONFIGURE= yes -CPPFLAGS+= -I${LOCALBASE}/include # for ncurses.h ALL_TARGET= default -.include "../../mk/bsd.prefs.mk" - -.if ${OPSYS} == "NetBSD" -DEPENDS+= ncurses>=4.2:../../devel/ncurses -.elif ${OPSYS} == "SunOS" -MAKE_ENV+= CPPFLAGS= -.endif - pre-configure: cd ${WRKSRC}; ${LOCALBASE}/bin/autoconf @@ -37,4 +30,5 @@ post-install: ${INSTALL_DATA} $${file} ${PREFIX}/share/examples/cdk/; \ done +.include "../../devel/ncurses/buildlink2.mk" .include "../../mk/bsd.pkg.mk" |