summaryrefslogtreecommitdiff
path: root/devel/cdk/Makefile
diff options
context:
space:
mode:
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"