summaryrefslogtreecommitdiff
path: root/devel/cscope
diff options
context:
space:
mode:
authorwiz <wiz>2000-09-11 15:26:38 +0000
committerwiz <wiz>2000-09-11 15:26:38 +0000
commit372643d390d462d12f65f6dacb020f1b223b3cd6 (patch)
treea1468aee8b01614b997885c378c6664267249b54 /devel/cscope
parent968d469f1ec5b7ddbf959823cd401e3557c91491 (diff)
downloadpkgsrc-372643d390d462d12f65f6dacb020f1b223b3cd6.tar.gz
Try to fix build failure on <1.4Y (noted in recent sparc bulk build).
Diffstat (limited to 'devel/cscope')
-rw-r--r--devel/cscope/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/devel/cscope/Makefile b/devel/cscope/Makefile
index adbbb044603..30ba5787059 100644
--- a/devel/cscope/Makefile
+++ b/devel/cscope/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2000/07/28 10:33:56 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2000/09/11 15:26:38 wiz Exp $
DISTNAME= cscope-15.0bl2
PKGNAME= cscope-15.0.2
@@ -11,16 +11,21 @@ HOMEPAGE= http://cscope.sourceforge.net/
GNU_CONFIGURE= YES
USE_CURSES= YES
+post-extract: cscope-post-extract
+
.include "../../mk/bsd.pkg.mk"
.if ${NEED_NCURSES} == "YES"
CONFIGURE_ARGS+=--with-ncurses=${LOCALBASE}
-post-extract:
+cscope-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