summaryrefslogtreecommitdiff
path: root/devel/cdk/Makefile
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1999-11-10 10:48:29 +0000
committeragc <agc@pkgsrc.org>1999-11-10 10:48:29 +0000
commit9297f8d65ec81f08cb5f6c141bd723d395b9273e (patch)
tree95c0c91f359667e791624fe2f5dfd0e578581235 /devel/cdk/Makefile
parent53fe9f03a726efa6abc5644b616cf39a122aec63 (diff)
downloadpkgsrc-9297f8d65ec81f08cb5f6c141bd723d395b9273e.tar.gz
Make this package work on Solaris.
Diffstat (limited to 'devel/cdk/Makefile')
-rw-r--r--devel/cdk/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/devel/cdk/Makefile b/devel/cdk/Makefile
index fe64f5d7516..974d99b503c 100644
--- a/devel/cdk/Makefile
+++ b/devel/cdk/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 1999/08/29 15:29:40 jlam Exp $
+# $NetBSD: Makefile,v 1.5 1999/11/10 10:48:29 agc Exp $
#
DISTNAME= latestCDK
@@ -12,7 +12,6 @@ MAINTAINER= root@garbled.net
HOMEPAGE= http://www.vexus.ca/CDK.html
BUILD_DEPENDS+= ${LOCALBASE}/bin/autoconf:../../devel/autoconf
-DEPENDS+= ncurses-4.2:../../devel/ncurses
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
@@ -21,6 +20,14 @@ CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}"
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