pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc



Module Name:    pkgsrc
Committed By:   nia
Date:           Wed Aug  2 19:36:51 UTC 2023

Modified Files:
        pkgsrc/textproc/enchant: Makefile
        pkgsrc/textproc/enchant2: Makefile
        pkgsrc/textproc/mythes: Makefile

Log Message:
*: 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.


To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 pkgsrc/textproc/enchant/Makefile
cvs rdiff -u -r1.28 -r1.29 pkgsrc/textproc/enchant2/Makefile
cvs rdiff -u -r1.19 -r1.20 pkgsrc/textproc/mythes/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/enchant/Makefile
diff -u pkgsrc/textproc/enchant/Makefile:1.45 pkgsrc/textproc/enchant/Makefile:1.46
--- pkgsrc/textproc/enchant/Makefile:1.45       Thu Jul  6 07:24:26 2023
+++ pkgsrc/textproc/enchant/Makefile    Wed Aug  2 19:36:51 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.45 2023/07/06 07:24:26 nia Exp $
+# $NetBSD: Makefile,v 1.46 2023/08/02 19:36:51 nia Exp $
 #
 
 DISTNAME=              enchant-1.6.0
@@ -12,13 +12,16 @@ COMMENT=            Generic spell checking library
 LICENSE=               gnu-lgpl-v2.1
 
 USE_TOOLS+=            pkg-config autoconf
-USE_LANGUAGES=         c c++11
+USE_LANGUAGES=         c c++
 USE_PKGLOCALEDIR=      yes
 USE_LIBTOOL=           yes
 PKGCONFIG_OVERRIDE+=   enchant.pc.in
 GNU_CONFIGURE=         yes
 CFLAGS.SunOS+=         -D__EXTENSIONS__
 
+# Mostly needed due to hunspell headers making c++98 default unacceptable.
+FORCE_CXX_STD=         c++11
+
 INSTALLATION_DIRS+=    share/examples
 MAKE_DIRS+=            ${PREFIX}/share/enchant
 CONF_FILES=            ${PREFIX}/share/examples/enchant-1.ordering ${PREFIX}/share/enchant/enchant.ordering

Index: pkgsrc/textproc/enchant2/Makefile
diff -u pkgsrc/textproc/enchant2/Makefile:1.28 pkgsrc/textproc/enchant2/Makefile:1.29
--- pkgsrc/textproc/enchant2/Makefile:1.28      Tue Jul 18 18:47:53 2023
+++ pkgsrc/textproc/enchant2/Makefile   Wed Aug  2 19:36:51 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2023/07/18 18:47:53 nia Exp $
+# $NetBSD: Makefile,v 1.29 2023/08/02 19:36:51 nia Exp $
 
 DISTNAME=              enchant-2.5.0
 PKGNAME=               ${DISTNAME:S/enchant/enchant2/}
@@ -13,8 +13,7 @@ COMMENT=              Generic spell checking library
 LICENSE=               gnu-lgpl-v2.1
 
 USE_TOOLS+=            autoconf groff pkg-config
-USE_LANGUAGES=         c c++11
-USE_CXX_FEATURES+=     c++11
+USE_LANGUAGES=         c c++
 USE_PKGLOCALEDIR=      yes
 USE_LIBTOOL=           yes
 PKGCONFIG_OVERRIDE+=   enchant.pc.in
@@ -24,6 +23,10 @@ INSTALLATION_DIRS+=  share/examples
 MAKE_DIRS+=            ${PREFIX}/share/enchant
 CONF_FILES=            ${PREFIX}/share/examples/enchant.ordering ${PREFIX}/share/enchant/enchant.ordering
 
+# Mostly needed due to hunspell headers making c++98 default unacceptable.
+FORCE_CXX_STD=         c++11
+USE_CXX_FEATURES+=     c++11
+
 # unsupported in pkgsrc - other dictionaries can be used instead
 # avoid PLIST problems
 CONFIGURE_ARGS+=       --without-hspell

Index: pkgsrc/textproc/mythes/Makefile
diff -u pkgsrc/textproc/mythes/Makefile:1.19 pkgsrc/textproc/mythes/Makefile:1.20
--- pkgsrc/textproc/mythes/Makefile:1.19        Tue Jun 28 11:36:12 2022
+++ pkgsrc/textproc/mythes/Makefile     Wed Aug  2 19:36:51 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2022/06/28 11:36:12 wiz Exp $
+# $NetBSD: Makefile,v 1.20 2023/08/02 19:36:51 nia Exp $
 
 DISTNAME=      mythes-1.2.4
 PKGREVISION=   3
@@ -18,6 +18,10 @@ GNU_CONFIGURE=       yes
 
 REPLACE_PERL=  th_gen_idx.pl
 
+# Mostly needed due to hunspell headers making c++98 default unacceptable.
+FORCE_CXX_STD=         c++11
+USE_CXX_FEATURES+=     c++11
+
 PKGCONFIG_OVERRIDE=    mythes.pc.in
 
 .include "../../textproc/hunspell/buildlink3.mk"



Home | Main Index | Thread Index | Old Index