pkgsrc-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8e1e830e3a29
branches:  trunk
changeset: 356745:8e1e830e3a29
user:      roy <roy%pkgsrc.org@localhost>
date:      Wed Jan 04 13:19:56 2017 +0000

description:
Use the curses framework.

diffstat:

 textproc/hunspell/Makefile   |   4 ++--
 textproc/hunspell/options.mk |  18 +++++-------------
 textproc/urlview/Makefile    |   4 ++--
 3 files changed, 9 insertions(+), 17 deletions(-)

diffs (62 lines):

diff -r 58f5e1bb4669 -r 8e1e830e3a29 textproc/hunspell/Makefile
--- a/textproc/hunspell/Makefile        Wed Jan 04 13:09:32 2017 +0000
+++ b/textproc/hunspell/Makefile        Wed Jan 04 13:19:56 2017 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.22 2016/07/09 06:39:05 wiz Exp $
+# $NetBSD: Makefile,v 1.23 2017/01/04 13:19:56 roy Exp $
 
 DISTNAME=      hunspell-1.3.3
-PKGREVISION=   4
+PKGREVISION=   5
 CATEGORIES=    textproc
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=hunspell/}
 
diff -r 58f5e1bb4669 -r 8e1e830e3a29 textproc/hunspell/options.mk
--- a/textproc/hunspell/options.mk      Wed Jan 04 13:09:32 2017 +0000
+++ b/textproc/hunspell/options.mk      Wed Jan 04 13:19:56 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.5 2013/08/27 22:11:20 richard Exp $
+# $NetBSD: options.mk,v 1.6 2017/01/04 13:19:56 roy Exp $
 
 PKG_OPTIONS_VAR=               PKG_OPTIONS.hunspell
 PKG_SUPPORTED_OPTIONS=         wide-curses
@@ -6,19 +6,11 @@
 
 .include "../../mk/bsd.options.mk"
 
-USE_NCURSES=   yes
-
 ###
 ### Wide curses support; otherwise, default to using narrow curses.
 ###
-.if !empty(MACHINE_PLATFORM:MNetBSD-[5-9].*-*)
-   CONFIGURE_ENV+=     ac_cv_lib_curses_tparm=yes
-.  include "../../mk/curses.buildlink3.mk"
-.else
-.  if !empty(PKG_OPTIONS:Mwide-curses)
-.    include "../../devel/ncursesw/buildlink3.mk"
-CPPFLAGS.SunOS+=       -D_XPG6
-.  else
-.    include "../../devel/ncurses/buildlink3.mk"
-.  endif
+INCOMPAT_CURSES=               NetBSD-[0-4].*-*
+.include "../../mk/curses.buildlink3.mk"
+.if !empty(PKG_OPTIONS:Mwide-curses)
+CPPFLAGS.SunOS+=               -D_XPG6
 .endif
diff -r 58f5e1bb4669 -r 8e1e830e3a29 textproc/urlview/Makefile
--- a/textproc/urlview/Makefile Wed Jan 04 13:09:32 2017 +0000
+++ b/textproc/urlview/Makefile Wed Jan 04 13:19:56 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2015/08/18 07:31:19 wiz Exp $
+# $NetBSD: Makefile,v 1.24 2017/01/04 13:23:24 roy Exp $
 
 DISTNAME=      urlview-0.9
 PKGREVISION=   7
@@ -16,5 +16,5 @@
 
 GNU_CONFIGURE= yes
 
-.include "../../devel/ncurses/buildlink3.mk"
+.include "../../mk/curses.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index