pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/hunspell hunspell: for wide character support...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/473c0515746e
branches:  trunk
changeset: 380882:473c0515746e
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed May 23 22:06:49 2018 +0000

description:
hunspell: for wide character support, use ncursesw.

The configure script checks for the library name and accepts only ncursesw.

Bump PKGREVISION.

diffstat:

 textproc/hunspell/Makefile   |  4 ++--
 textproc/hunspell/options.mk |  9 +++++----
 2 files changed, 7 insertions(+), 6 deletions(-)

diffs (35 lines):

diff -r c4324bbcb4b6 -r 473c0515746e textproc/hunspell/Makefile
--- a/textproc/hunspell/Makefile        Wed May 23 21:07:58 2018 +0000
+++ b/textproc/hunspell/Makefile        Wed May 23 22:06:49 2018 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.23 2017/01/04 13:19:56 roy Exp $
+# $NetBSD: Makefile,v 1.24 2018/05/23 22:06:49 wiz Exp $
 
 DISTNAME=      hunspell-1.3.3
-PKGREVISION=   5
+PKGREVISION=   6
 CATEGORIES=    textproc
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=hunspell/}
 
diff -r c4324bbcb4b6 -r 473c0515746e textproc/hunspell/options.mk
--- a/textproc/hunspell/options.mk      Wed May 23 21:07:58 2018 +0000
+++ b/textproc/hunspell/options.mk      Wed May 23 22:06:49 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.6 2017/01/04 13:19:56 roy Exp $
+# $NetBSD: options.mk,v 1.7 2018/05/23 22:06:50 wiz Exp $
 
 PKG_OPTIONS_VAR=               PKG_OPTIONS.hunspell
 PKG_SUPPORTED_OPTIONS=         wide-curses
@@ -9,8 +9,9 @@
 ###
 ### Wide curses support; otherwise, default to using narrow curses.
 ###
-INCOMPAT_CURSES=               NetBSD-[0-4].*-*
+.if !empty(PKG_OPTIONS:Mwide-curses)
+.include "../../devel/ncursesw/buildlink3.mk"
+CPPFLAGS.SunOS+=               -D_XPG6
+.else
 .include "../../mk/curses.buildlink3.mk"
-.if !empty(PKG_OPTIONS:Mwide-curses)
-CPPFLAGS.SunOS+=               -D_XPG6
 .endif



Home | Main Index | Thread Index | Old Index