diff options
author | roy <roy> | 2013-10-16 12:03:29 +0000 |
---|---|---|
committer | roy <roy> | 2013-10-16 12:03:29 +0000 |
commit | fd4e7f3629ad47a5dff3678e63ada60c21ddbf86 (patch) | |
tree | 5fcd2123065e25f96c9e7c618addab58c0308a23 /devel | |
parent | 7c05a9f95b61152daeff9bbeb1970911bb5b631d (diff) | |
download | pkgsrc-fd4e7f3629ad47a5dff3678e63ada60c21ddbf86.tar.gz |
cscope works fine with system curses
Diffstat (limited to 'devel')
-rw-r--r-- | devel/cscope/Makefile | 10 |
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 |