summaryrefslogtreecommitdiff
path: root/devel/cscope/Makefile
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2000-11-02 03:25:32 +0000
committerwiz <wiz@pkgsrc.org>2000-11-02 03:25:32 +0000
commit3d00d4c11963daee2b14fcf7db3ba043aa719d01 (patch)
treed820a2e345b88d60135b9e3edc15e3a1494120c7 /devel/cscope/Makefile
parentd4379bce7163f24e2b8bee0615d6177dc9f4ebd7 (diff)
downloadpkgsrc-3d00d4c11963daee2b14fcf7db3ba043aa719d01.tar.gz
NEED_NCURSES check doesn't have to be after bsd.pkg.mk inclusion anymore
(only after bsd.prefs.mk inclusion)
Diffstat (limited to 'devel/cscope/Makefile')
-rw-r--r--devel/cscope/Makefile13
1 files changed, 5 insertions, 8 deletions
diff --git a/devel/cscope/Makefile b/devel/cscope/Makefile
index 810c1fcf987..a7ac1e8a9c0 100644
--- a/devel/cscope/Makefile
+++ b/devel/cscope/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2000/09/28 12:41:36 agc Exp $
+# $NetBSD: Makefile,v 1.12 2000/11/02 03:25:32 wiz Exp $
DISTNAME= cscope-15.0bl2
PKGNAME= cscope-15.0.2
@@ -11,21 +11,18 @@ HOMEPAGE= http://cscope.sourceforge.net/
GNU_CONFIGURE= YES
USE_CURSES= YES
-post-extract: cscope-post-extract
-
-.include "../../mk/bsd.pkg.mk"
+.include "../../mk/bsd.prefs.mk"
.if ${NEED_NCURSES} == "YES"
CONFIGURE_ARGS+=--with-ncurses=${LOCALBASE}
-cscope-post-extract:
+post-extract:
.for FILE in command.c display.c edit.c exec.c find.c help.c input.c main.c
@cd ${WRKSRC}/src; \
${MV} ${FILE} ${FILE}.orig; \
${SED} "s/^#include <curses.h>/#include <ncurses.h>/" \
< ${FILE}.orig > ${FILE}
.endfor
-.else
-cscope-post-extract:
- ${TRUE}
.endif
+
+.include "../../mk/bsd.pkg.mk"