Wed Jan 4 13:19:57 2017 UTC ()
Use the curses framework.


(roy)
diff -r1.22 -r1.23 pkgsrc/textproc/hunspell/Makefile
diff -r1.5 -r1.6 pkgsrc/textproc/hunspell/options.mk

cvs diff -r1.22 -r1.23 pkgsrc/textproc/hunspell/Makefile (expand / switch to unified diff)

--- pkgsrc/textproc/hunspell/Makefile 2016/07/09 06:39:05 1.22
+++ pkgsrc/textproc/hunspell/Makefile 2017/01/04 13:19:56 1.23
@@ -1,17 +1,17 @@ @@ -1,17 +1,17 @@
1# $NetBSD: Makefile,v 1.22 2016/07/09 06:39:05 wiz Exp $ 1# $NetBSD: Makefile,v 1.23 2017/01/04 13:19:56 roy Exp $
2 2
3DISTNAME= hunspell-1.3.3 3DISTNAME= hunspell-1.3.3
4PKGREVISION= 4 4PKGREVISION= 5
5CATEGORIES= textproc 5CATEGORIES= textproc
6MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=hunspell/} 6MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=hunspell/}
7 7
8MAINTAINER= ahoka@NetBSD.org 8MAINTAINER= ahoka@NetBSD.org
9HOMEPAGE= http://hunspell.sourceforge.net/ 9HOMEPAGE= http://hunspell.sourceforge.net/
10COMMENT= Improved spellchecker 10COMMENT= Improved spellchecker
11LICENSE= mpl-1.1 OR gnu-lgpl-v2.1 OR gnu-gpl-v2 11LICENSE= mpl-1.1 OR gnu-lgpl-v2.1 OR gnu-gpl-v2
12 12
13WRKSRC= ${WRKDIR}/${DISTNAME:C/-[0-9]+$//} 13WRKSRC= ${WRKDIR}/${DISTNAME:C/-[0-9]+$//}
14GNU_CONFIGURE= yes 14GNU_CONFIGURE= yes
15USE_LIBTOOL= yes 15USE_LIBTOOL= yes
16USE_TOOLS+= pkg-config perl:run 16USE_TOOLS+= pkg-config perl:run
17USE_PKGLOCALEDIR= yes 17USE_PKGLOCALEDIR= yes

cvs diff -r1.5 -r1.6 pkgsrc/textproc/hunspell/Attic/options.mk (expand / switch to unified diff)

--- pkgsrc/textproc/hunspell/Attic/options.mk 2013/08/27 22:11:20 1.5
+++ pkgsrc/textproc/hunspell/Attic/options.mk 2017/01/04 13:19:56 1.6
@@ -1,24 +1,16 @@ @@ -1,24 +1,16 @@
1# $NetBSD: options.mk,v 1.5 2013/08/27 22:11:20 richard Exp $ 1# $NetBSD: options.mk,v 1.6 2017/01/04 13:19:56 roy Exp $
2 2
3PKG_OPTIONS_VAR= PKG_OPTIONS.hunspell 3PKG_OPTIONS_VAR= PKG_OPTIONS.hunspell
4PKG_SUPPORTED_OPTIONS= wide-curses 4PKG_SUPPORTED_OPTIONS= wide-curses
5PKG_SUGGESTED_OPTIONS= # empty 5PKG_SUGGESTED_OPTIONS= # empty
6 6
7.include "../../mk/bsd.options.mk" 7.include "../../mk/bsd.options.mk"
8 8
9USE_NCURSES= yes 
10 
11### 9###
12### Wide curses support; otherwise, default to using narrow curses. 10### Wide curses support; otherwise, default to using narrow curses.
13### 11###
14.if !empty(MACHINE_PLATFORM:MNetBSD-[5-9].*-*) 12INCOMPAT_CURSES= NetBSD-[0-4].*-*
15 CONFIGURE_ENV+= ac_cv_lib_curses_tparm=yes 13.include "../../mk/curses.buildlink3.mk"
16. include "../../mk/curses.buildlink3.mk" 14.if !empty(PKG_OPTIONS:Mwide-curses)
17.else 15CPPFLAGS.SunOS+= -D_XPG6
18. if !empty(PKG_OPTIONS:Mwide-curses) 
19. include "../../devel/ncursesw/buildlink3.mk" 
20CPPFLAGS.SunOS+= -D_XPG6 
21. else 
22. include "../../devel/ncurses/buildlink3.mk" 
23. endif 
24.endif 16.endif