summaryrefslogtreecommitdiff
path: root/devel/cscope
diff options
context:
space:
mode:
authorroy <roy@pkgsrc.org>2013-10-16 12:03:29 +0000
committerroy <roy@pkgsrc.org>2013-10-16 12:03:29 +0000
commit9bebfa0b2f111433f76903ca290e0e9d536973af (patch)
tree5fcd2123065e25f96c9e7c618addab58c0308a23 /devel/cscope
parentf5e4d253f6759804a7110996e1e9858b341df95b (diff)
downloadpkgsrc-9bebfa0b2f111433f76903ca290e0e9d536973af.tar.gz
cscope works fine with system curses
Diffstat (limited to 'devel/cscope')
-rw-r--r--devel/cscope/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/devel/cscope/Makefile b/devel/cscope/Makefile
index f8b967aa81e..41d657011c9 100644
--- a/devel/cscope/Makefile
+++ b/devel/cscope/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.54 2012/10/31 11:16:48 asau Exp $
+# $NetBSD: Makefile,v 1.55 2013/10/16 12:03:29 roy Exp $
DISTNAME= cscope-15.8a
+PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=cscope/}
@@ -12,7 +13,6 @@ LICENSE= original-bsd
GNU_CONFIGURE= YES
USE_TOOLS+= byacc lex
-CONFIGURE_ARGS+= --with-ncurses=${BUILDLINK_PREFIX.ncurses}
CONFIGURE_ARGS+= --with-flex --with-yacc
INSTALLATION_DIRS+= share/emacs/site-lisp
@@ -28,5 +28,9 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/contrib/xcscope/xcscope.el \
${DESTDIR}${PREFIX}/share/emacs/site-lisp
-.include "../../devel/ncurses/buildlink3.mk"
+.include "../../mk/curses.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
+
+.if ${CURSES_TYPE} == "ncurses"
+CONFIGURE_ARGS+= --with-ncurses=${BUILDLINK_PREFIX.ncurses}
+.endif