Wed Aug 2 19:36:51 2023 UTC ()
*: Packages including C++ hunspell headers must use C++11 or newer.

Some do not set -std=c++XX, so enforce this requirement with
FORCE_CXX_STD.


(nia)
diff -r1.45 -r1.46 pkgsrc/textproc/enchant/Makefile
diff -r1.28 -r1.29 pkgsrc/textproc/enchant2/Makefile
diff -r1.19 -r1.20 pkgsrc/textproc/mythes/Makefile
Thu Aug 3 04:36:51 2023
Thu Jul 6 16:24:26 2023
pkgsrc/textproc/enchant/Makefile,v

anoncvs not yet been updated

cvs diff -r1.45 -r1.46 pkgsrc/textproc/enchant/Makefile (expand / switch to unified diff)

--- pkgsrc/textproc/enchant/Makefile 2023/07/06 07:24:26 1.45
+++ pkgsrc/textproc/enchant/Makefile 1.46
@@ -1,42 +0,0 @@ @@ -1,42 +0,0 @@
1# $NetBSD: Makefile,v 1.45 2023/07/06 07:24:26 nia Exp $ 
2# 
3 
4DISTNAME= enchant-1.6.0 
5PKGREVISION= 10 
6CATEGORIES= textproc 
7MASTER_SITES= http://www.abisource.com/downloads/enchant/1.6.0/ 
8 
9MAINTAINER= pkgsrc-users@NetBSD.org 
10HOMEPAGE= https://www.abisource.com/projects/enchant/ 
11COMMENT= Generic spell checking library 
12LICENSE= gnu-lgpl-v2.1 
13 
14USE_TOOLS+= pkg-config autoconf 
15USE_LANGUAGES= c c++11 
16USE_PKGLOCALEDIR= yes 
17USE_LIBTOOL= yes 
18PKGCONFIG_OVERRIDE+= enchant.pc.in 
19GNU_CONFIGURE= yes 
20CFLAGS.SunOS+= -D__EXTENSIONS__ 
21 
22INSTALLATION_DIRS+= share/examples 
23MAKE_DIRS+= ${PREFIX}/share/enchant 
24CONF_FILES= ${PREFIX}/share/examples/enchant-1.ordering ${PREFIX}/share/enchant/enchant.ordering 
25 
26# Unsupported in pkgsrc: 
27# hspell - Hebrew spelling 
28# uspell - Yiddish spelling 
29# voikko - Finnish spelling 
30# 
31# hunspell or aspell can be used for these languages. 
32CONFIGURE_ARGS+= --disable-hspell 
33CONFIGURE_ARGS+= --disable-uspell 
34CONFIGURE_ARGS+= --disable-voikko 
35 
36post-install: 
37 cd ${DESTDIR}${PREFIX}/share && ${MV} enchant/enchant.ordering examples/enchant-1.ordering 
38 
39.include "options.mk" 
40 
41.include "../../devel/glib2/buildlink3.mk" 
42.include "../../mk/bsd.pkg.mk" 

cvs diff -r1.28 -r1.29 pkgsrc/textproc/enchant2/Makefile (expand / switch to unified diff)

--- pkgsrc/textproc/enchant2/Makefile 2023/07/18 18:47:53 1.28
+++ pkgsrc/textproc/enchant2/Makefile 2023/08/02 19:36:51 1.29
@@ -1,39 +1,42 @@ @@ -1,39 +1,42 @@
1# $NetBSD: Makefile,v 1.28 2023/07/18 18:47:53 nia Exp $ 1# $NetBSD: Makefile,v 1.29 2023/08/02 19:36:51 nia Exp $
2 2
3DISTNAME= enchant-2.5.0 3DISTNAME= enchant-2.5.0
4PKGNAME= ${DISTNAME:S/enchant/enchant2/} 4PKGNAME= ${DISTNAME:S/enchant/enchant2/}
5CATEGORIES= textproc 5CATEGORIES= textproc
6MASTER_SITES= ${MASTER_SITE_GITHUB:=AbiWord/} 6MASTER_SITES= ${MASTER_SITE_GITHUB:=AbiWord/}
7GITHUB_PROJECT= enchant 7GITHUB_PROJECT= enchant
8GITHUB_RELEASE= v${PKGVERSION_NOREV} 8GITHUB_RELEASE= v${PKGVERSION_NOREV}
9 9
10MAINTAINER= pkgsrc-users@NetBSD.org 10MAINTAINER= pkgsrc-users@NetBSD.org
11HOMEPAGE= https://abiword.github.io/enchant/ 11HOMEPAGE= https://abiword.github.io/enchant/
12COMMENT= Generic spell checking library 12COMMENT= Generic spell checking library
13LICENSE= gnu-lgpl-v2.1 13LICENSE= gnu-lgpl-v2.1
14 14
15USE_TOOLS+= autoconf groff pkg-config 15USE_TOOLS+= autoconf groff pkg-config
16USE_LANGUAGES= c c++11 16USE_LANGUAGES= c c++
17USE_CXX_FEATURES+= c++11 
18USE_PKGLOCALEDIR= yes 17USE_PKGLOCALEDIR= yes
19USE_LIBTOOL= yes 18USE_LIBTOOL= yes
20PKGCONFIG_OVERRIDE+= enchant.pc.in 19PKGCONFIG_OVERRIDE+= enchant.pc.in
21GNU_CONFIGURE= yes 20GNU_CONFIGURE= yes
22CFLAGS.SunOS+= -D__EXTENSIONS__ 21CFLAGS.SunOS+= -D__EXTENSIONS__
23INSTALLATION_DIRS+= share/examples 22INSTALLATION_DIRS+= share/examples
24MAKE_DIRS+= ${PREFIX}/share/enchant 23MAKE_DIRS+= ${PREFIX}/share/enchant
25CONF_FILES= ${PREFIX}/share/examples/enchant.ordering ${PREFIX}/share/enchant/enchant.ordering 24CONF_FILES= ${PREFIX}/share/examples/enchant.ordering ${PREFIX}/share/enchant/enchant.ordering
26 25
 26# Mostly needed due to hunspell headers making c++98 default unacceptable.
 27FORCE_CXX_STD= c++11
 28USE_CXX_FEATURES+= c++11
 29
27# unsupported in pkgsrc - other dictionaries can be used instead 30# unsupported in pkgsrc - other dictionaries can be used instead
28# avoid PLIST problems 31# avoid PLIST problems
29CONFIGURE_ARGS+= --without-hspell 32CONFIGURE_ARGS+= --without-hspell
30CONFIGURE_ARGS+= --without-voikko 33CONFIGURE_ARGS+= --without-voikko
31 34
32# As of 2.3.2 35# As of 2.3.2
33# FAILURE: 230 out of 425 tests failed (390 failures). 36# FAILURE: 230 out of 425 tests failed (390 failures).
34TEST_TARGET= check 37TEST_TARGET= check
35 38
36post-install: 39post-install:
37 cd ${DESTDIR}${PREFIX}/share && ${MV} enchant/enchant.ordering examples/enchant.ordering 40 cd ${DESTDIR}${PREFIX}/share && ${MV} enchant/enchant.ordering examples/enchant.ordering
38 41
39.include "options.mk" 42.include "options.mk"

cvs diff -r1.19 -r1.20 pkgsrc/textproc/mythes/Makefile (expand / switch to unified diff)

--- pkgsrc/textproc/mythes/Makefile 2022/06/28 11:36:12 1.19
+++ pkgsrc/textproc/mythes/Makefile 2023/08/02 19:36:51 1.20
@@ -1,24 +1,28 @@ @@ -1,24 +1,28 @@
1# $NetBSD: Makefile,v 1.19 2022/06/28 11:36:12 wiz Exp $ 1# $NetBSD: Makefile,v 1.20 2023/08/02 19:36:51 nia Exp $
2 2
3DISTNAME= mythes-1.2.4 3DISTNAME= mythes-1.2.4
4PKGREVISION= 3 4PKGREVISION= 3
5CATEGORIES= textproc 5CATEGORIES= textproc
6MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=hunspell}/ 6MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=hunspell}/
7 7
8MAINTAINER= ftigeot@wolfpond.org 8MAINTAINER= ftigeot@wolfpond.org
9HOMEPAGE= http://hunspell.sourceforge.net/ 9HOMEPAGE= http://hunspell.sourceforge.net/
10COMMENT= Simple thesaurus library 10COMMENT= Simple thesaurus library
11LICENSE= modified-bsd 11LICENSE= modified-bsd
12 12
13USE_LANGUAGES= c c++ 13USE_LANGUAGES= c c++
14USE_LIBTOOL= yes 14USE_LIBTOOL= yes
15USE_TOOLS+= pkg-config perl:run 15USE_TOOLS+= pkg-config perl:run
16 16
17GNU_CONFIGURE= yes 17GNU_CONFIGURE= yes
18 18
19REPLACE_PERL= th_gen_idx.pl 19REPLACE_PERL= th_gen_idx.pl
20 20
 21# Mostly needed due to hunspell headers making c++98 default unacceptable.
 22FORCE_CXX_STD= c++11
 23USE_CXX_FEATURES+= c++11
 24
21PKGCONFIG_OVERRIDE= mythes.pc.in 25PKGCONFIG_OVERRIDE= mythes.pc.in
22 26
23.include "../../textproc/hunspell/buildlink3.mk" 27.include "../../textproc/hunspell/buildlink3.mk"
24.include "../../mk/bsd.pkg.mk" 28.include "../../mk/bsd.pkg.mk"