summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorroy <roy@pkgsrc.org>2017-01-04 18:06:59 +0000
committerroy <roy@pkgsrc.org>2017-01-04 18:06:59 +0000
commitb5613179b7f7ec441f84ba1a93a41e332f32e070 (patch)
tree316167f6f34efa2cd84fd409e115e42f6b681f9d /devel
parent681cde8c1e909d820ee9b0e5b39c8d8a2436a390 (diff)
downloadpkgsrc-b5613179b7f7ec441f84ba1a93a41e332f32e070.tar.gz
Use the curses framework.
Diffstat (limited to 'devel')
-rw-r--r--devel/tig/Makefile6
-rw-r--r--devel/tig/options.mk10
2 files changed, 6 insertions, 10 deletions
diff --git a/devel/tig/Makefile b/devel/tig/Makefile
index 7852093ff11..97b2042db43 100644
--- a/devel/tig/Makefile
+++ b/devel/tig/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.14 2015/08/18 07:31:05 wiz Exp $
+# $NetBSD: Makefile,v 1.15 2017/01/04 18:16:32 roy Exp $
DISTNAME= tig-1.2.1
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= devel scm
MASTER_SITES= http://jonas.nitro.dk/tig/releases/
@@ -16,7 +16,7 @@ DEPENDS+= git-base-[0-9]*:../../devel/git-base
GNU_CONFIGURE= yes
USE_TOOLS+= gmake
-USE_NCURSES= yes
+FAKE_NCURSES= yes
CONF_FILES= ${EGDIR}/tigrc ${PKG_SYSCONFDIR}/tigrc
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
diff --git a/devel/tig/options.mk b/devel/tig/options.mk
index 0faef7f98ef..cdbe591bcef 100644
--- a/devel/tig/options.mk
+++ b/devel/tig/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.2 2013/10/16 20:26:23 roy Exp $
+# $NetBSD: options.mk,v 1.3 2017/01/04 18:16:32 roy Exp $
#
PKG_OPTIONS_VAR= PKG_OPTIONS.tig
@@ -11,9 +11,5 @@ PKG_SUGGESTED_OPTIONS+= wide-curses
.include "../../mk/bsd.options.mk"
-# NetBSD curses does not implemet getsyx or setsyx
-.if !empty(PKG_OPTIONS:Mwide-curses)
-. include "../../devel/ncursesw/buildlink3.mk"
-.else
-. include "../../devel/ncurses/buildlink3.mk"
-.endif
+USE_CURSES= getsyx
+.include "../../mk/curses.buildlink3.mk"