summaryrefslogtreecommitdiff
path: root/devel/cscope
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2000-09-11 15:26:38 +0000
committerwiz <wiz@pkgsrc.org>2000-09-11 15:26:38 +0000
commitbb793c9c7548d88f9adff4497a4e94babbdc8aa7 (patch)
treea1468aee8b01614b997885c378c6664267249b54 /devel/cscope
parent2789e16ad394bbd9569de520437fb21869052518 (diff)
downloadpkgsrc-bb793c9c7548d88f9adff4497a4e94babbdc8aa7.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