summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/tig/Makefile6
-rw-r--r--devel/tig/options.mk10
-rw-r--r--geography/gpsd/Makefile8
3 files changed, 10 insertions, 14 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"
diff --git a/geography/gpsd/Makefile b/geography/gpsd/Makefile
index 26c711d2442..08927be1943 100644
--- a/geography/gpsd/Makefile
+++ b/geography/gpsd/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.33 2017/01/01 14:43:41 wiz Exp $
+# $NetBSD: Makefile,v 1.34 2017/01/04 18:06:59 roy Exp $
# gpsd 3.11 has been released. It has only not been updated because
# newer versions use scons.
DISTNAME= gpsd-2.96
-PKGREVISION= 3
+PKGREVISION= 4
CATEGORIES= geography
MASTER_SITES= http://download-mirror.savannah.gnu.org/releases/gpsd/
@@ -24,7 +24,7 @@ PYTHON_VERSIONS_INCOMPATIBLE= 34 35 36 # not yet ported as of 2.96
USE_TOOLS+= gmake
USE_LIBTOOL= yes
USE_LANGUAGES= c99 c++
-USE_NCURSES= yes
+FAKE_NCURSES= yes
CFLAGS.SunOS= -DLOG_PERROR=0
@@ -32,7 +32,7 @@ INSTALLATION_DIRS= sbin
TEST_TARGET= check
-.include "../../devel/ncurses/buildlink3.mk"
.include "../../lang/python/extension.mk"
+.include "../../mk/curses.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"