Wed Jul 24 19:04:29 2019 UTC ()
NetBSD curses has been fixed since 8.1.
So, ncurses is no longer required.

Bump PKGREVISION.


(rin)
diff -r1.70 -r1.71 pkgsrc/textproc/aspell/Makefile

cvs diff -r1.70 -r1.71 pkgsrc/textproc/aspell/Makefile (expand / switch to unified diff)

--- pkgsrc/textproc/aspell/Makefile 2018/08/22 09:46:44 1.70
+++ pkgsrc/textproc/aspell/Makefile 2019/07/24 19:04:29 1.71
@@ -1,51 +1,57 @@ @@ -1,51 +1,57 @@
1# $NetBSD: Makefile,v 1.70 2018/08/22 09:46:44 wiz Exp $ 1# $NetBSD: Makefile,v 1.71 2019/07/24 19:04:29 rin Exp $
2# 2#
3 3
4DISTNAME= aspell-0.60.6.1 4DISTNAME= aspell-0.60.6.1
5PKGREVISION= 8 5PKGREVISION= 9
6CATEGORIES= textproc 6CATEGORIES= textproc
7MASTER_SITES= ${MASTER_SITE_GNU:=aspell/} 7MASTER_SITES= ${MASTER_SITE_GNU:=aspell/}
8 8
9MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= http://aspell.net/ 10HOMEPAGE= http://aspell.net/
11COMMENT= Spell checker with good multi-language support 11COMMENT= Spell checker with good multi-language support
12LICENSE= gnu-lgpl-v2.1 12LICENSE= gnu-lgpl-v2.1
13 13
14CONFLICTS= libpspell-[0-9]* 14CONFLICTS= libpspell-[0-9]*
15 15
16GNU_CONFIGURE= yes 16GNU_CONFIGURE= yes
17USE_FEATURES= snprintf vsnprintf 17USE_FEATURES= snprintf vsnprintf
18USE_TOOLS+= gmake 18USE_TOOLS+= gmake
19# for bin/aspell-import 19# for bin/aspell-import
20USE_TOOLS+= perl:run 20USE_TOOLS+= perl:run
21USE_LIBTOOL= yes 21USE_LIBTOOL= yes
22USE_LANGUAGES= c c++ 22USE_LANGUAGES= c c++
23USE_NCURSES= yes 23USE_NCURSES= yes
24USE_PKGLOCALEDIR= yes 24USE_PKGLOCALEDIR= yes
25INFO_FILES= yes 25INFO_FILES= yes
26 26
27CONFIGURE_ARGS+= --enable-doc-dir=${PREFIX}/share/doc/aspell 27CONFIGURE_ARGS+= --enable-doc-dir=${PREFIX}/share/doc/aspell
28CONFIGURE_ARGS+= --enable-curses=ncurses 28CONFIGURE_ARGS+= --enable-curses=${CURSES_TYPE}
29CONFIGURE_ARGS+= --enable-pkgdatadir=${PREFIX}/share/aspell 29CONFIGURE_ARGS+= --enable-pkgdatadir=${PREFIX}/share/aspell
30CONFIGURE_ARGS+= --enable-dict-dir=${PREFIX}/lib/aspell 30CONFIGURE_ARGS+= --enable-dict-dir=${PREFIX}/lib/aspell
31CONFIGURE_ENV+= gt_cv_func_gnugettext1_libintl=yes 31CONFIGURE_ENV+= gt_cv_func_gnugettext1_libintl=yes
32 32
33.include "../../mk/bsd.prefs.mk" 33.include "../../mk/bsd.prefs.mk"
34 34
 35# aspell does not work with curses in NetBSD <= 8.0.
 36.if !empty(MACHINE_PLATFORM:MNetBSD-8.0*) || \
 37 !empty(MACHINE_PLATFORM:MNetBSD-[0-7].*)
 38USE_CURSES= ncurses
 39.endif
 40
35.if !empty(MACHINE_PLATFORM:MIRIX-5*) 41.if !empty(MACHINE_PLATFORM:MIRIX-5*)
36CPPFLAGS+= -DDECLARE_VSNPRINTF -DDECLARE_SNPRINTF 42CPPFLAGS+= -DDECLARE_VSNPRINTF -DDECLARE_SNPRINTF
37# IRIX 5 has an older implementation of signal() 43# IRIX 5 has an older implementation of signal()
38CPPFLAGS+= -DHAVE_OLD_SIGNAL 44CPPFLAGS+= -DHAVE_OLD_SIGNAL
39.endif 45.endif
40 46
41.include "options.mk" 47.include "options.mk"
42 48
43REPLACE_PERL= scripts/aspell-import 49REPLACE_PERL= scripts/aspell-import
44 50
45NOT_FOR_COMPILER= xlc 51NOT_FOR_COMPILER= xlc
46 52
47LIBS.SunOS+= -lm 53LIBS.SunOS+= -lm
48 54
49.include "../../devel/gettext-lib/buildlink3.mk" 55.include "../../devel/gettext-lib/buildlink3.mk"
50.include "../../devel/ncurses/buildlink3.mk" 56.include "../../mk/curses.buildlink3.mk"
51.include "../../mk/bsd.pkg.mk" 57.include "../../mk/bsd.pkg.mk"