pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc Use the curses framework.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9002f93203f6
branches:  trunk
changeset: 356776:9002f93203f6
user:      roy <roy%pkgsrc.org@localhost>
date:      Wed Jan 04 18:06:59 2017 +0000

description:
Use the curses framework.

diffstat:

 devel/tig/Makefile      |   6 +++---
 devel/tig/options.mk    |  10 +++-------
 geography/gpsd/Makefile |   8 ++++----
 3 files changed, 10 insertions(+), 14 deletions(-)

diffs (76 lines):

diff -r 7c6e371568f0 -r 9002f93203f6 devel/tig/Makefile
--- a/devel/tig/Makefile        Wed Jan 04 17:31:22 2017 +0000
+++ b/devel/tig/Makefile        Wed Jan 04 18:06:59 2017 +0000
@@ -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 @@
 
 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 -r 7c6e371568f0 -r 9002f93203f6 devel/tig/options.mk
--- a/devel/tig/options.mk      Wed Jan 04 17:31:22 2017 +0000
+++ b/devel/tig/options.mk      Wed Jan 04 18:06:59 2017 +0000
@@ -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 @@
 
 .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 -r 7c6e371568f0 -r 9002f93203f6 geography/gpsd/Makefile
--- a/geography/gpsd/Makefile   Wed Jan 04 17:31:22 2017 +0000
+++ b/geography/gpsd/Makefile   Wed Jan 04 18:06:59 2017 +0000
@@ -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 @@
 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 @@
 
 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"



Home | Main Index | Thread Index | Old Index