From 9bebfa0b2f111433f76903ca290e0e9d536973af Mon Sep 17 00:00:00 2001 From: roy Date: Wed, 16 Oct 2013 12:03:29 +0000 Subject: cscope works fine with system curses --- devel/cscope/Makefile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'devel/cscope') 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 -- cgit v1.2.3