summaryrefslogtreecommitdiff
path: root/devel/cdk/Makefile
diff options
context:
space:
mode:
authorjlam <jlam>2002-08-26 18:28:20 +0000
committerjlam <jlam>2002-08-26 18:28:20 +0000
commitb9137289b9b8b0bf86095272ced930506e07a32e (patch)
tree298aa63addb6ec38d03b8c9f4be12366b1b50e98 /devel/cdk/Makefile
parent677cc608db9bad78a058ae1e7c4864c1ef8a5aa5 (diff)
downloadpkgsrc-b9137289b9b8b0bf86095272ced930506e07a32e.tar.gz
Use buildlink2.
Diffstat (limited to 'devel/cdk/Makefile')
-rw-r--r--devel/cdk/Makefile14
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"