summaryrefslogtreecommitdiff
path: root/devel/cscope
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2000-07-28 10:33:56 +0000
committerwiz <wiz@pkgsrc.org>2000-07-28 10:33:56 +0000
commitd63de2f4a37307523d7d0882a887bcdfe62a5bca (patch)
tree645721463659c2eb41c243dc65126304596e7750 /devel/cscope
parent5c635cc3235c723c204ab1618f678a6f6720c03a (diff)
downloadpkgsrc-d63de2f4a37307523d7d0882a887bcdfe62a5bca.tar.gz
Add USE_CURSES for packages that need curses functionality that only
got added in 1.4Y; on older version of NetBSD, ncurses will be used. Replace previous code that did the same, but wasn't shared.
Diffstat (limited to 'devel/cscope')
-rw-r--r--devel/cscope/Makefile18
1 files changed, 4 insertions, 14 deletions
diff --git a/devel/cscope/Makefile b/devel/cscope/Makefile
index f0c5d1ec6c0..adbbb044603 100644
--- a/devel/cscope/Makefile
+++ b/devel/cscope/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2000/06/14 02:10:57 hubertf Exp $
+# $NetBSD: Makefile,v 1.8 2000/07/28 10:33:56 wiz Exp $
DISTNAME= cscope-15.0bl2
PKGNAME= cscope-15.0.2
@@ -9,19 +9,11 @@ MAINTAINER= packages@netbsd.org
HOMEPAGE= http://cscope.sourceforge.net/
GNU_CONFIGURE= YES
+USE_CURSES= YES
-.include "../../mk/bsd.prefs.mk"
-GOOD_CURSES= 1.4[S-Z] 1.4Z[A-Z] 1.[5-9]*
-
-.for PATTERN in ${GOOD_CURSES}
-.if ${OS_VERSION:M${PATTERN}} != ""
-CURSES_GOOD?=
-.endif
-.endfor
-
-.if !defined(CURSES_GOOD)
-DEPENDS+= ncurses>=5.0:../../devel/ncurses
+.include "../../mk/bsd.pkg.mk"
+.if ${NEED_NCURSES} == "YES"
CONFIGURE_ARGS+=--with-ncurses=${LOCALBASE}
post-extract:
@@ -32,5 +24,3 @@ post-extract:
< ${FILE}.orig > ${FILE}
.endfor
.endif
-
-.include "../../mk/bsd.pkg.mk"