pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/enchant2



Module Name:    pkgsrc
Committed By:   nia
Date:           Mon Oct 26 17:19:29 UTC 2020

Modified Files:
        pkgsrc/textproc/enchant2: Makefile buildlink3.mk

Log Message:
enchant2: require c++11 support with GCC_REQD instead of USE_LANGUAGES.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 pkgsrc/textproc/enchant2/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/textproc/enchant2/buildlink3.mk

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

Modified files:

Index: pkgsrc/textproc/enchant2/Makefile
diff -u pkgsrc/textproc/enchant2/Makefile:1.14 pkgsrc/textproc/enchant2/Makefile:1.15
--- pkgsrc/textproc/enchant2/Makefile:1.14      Sun Oct 18 14:35:54 2020
+++ pkgsrc/textproc/enchant2/Makefile   Mon Oct 26 17:19:29 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2020/10/18 14:35:54 wiz Exp $
+# $NetBSD: Makefile,v 1.15 2020/10/26 17:19:29 nia Exp $
 
 DISTNAME=              enchant-2.2.12
 PKGNAME=               ${DISTNAME:S/enchant/enchant2/}
@@ -13,7 +13,7 @@ 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
@@ -32,6 +32,9 @@ CONFIGURE_ARGS+=      --without-voikko
 # FAILURE: 230 out of 425 tests failed (385 failures).
 TEST_TARGET=           check
 
+# C++11
+GCC_REQD+=             4.8
+
 post-install:
        cd ${DESTDIR}${PREFIX}/share && ${MV} enchant/enchant.ordering examples/enchant.ordering
 

Index: pkgsrc/textproc/enchant2/buildlink3.mk
diff -u pkgsrc/textproc/enchant2/buildlink3.mk:1.5 pkgsrc/textproc/enchant2/buildlink3.mk:1.6
--- pkgsrc/textproc/enchant2/buildlink3.mk:1.5  Sun Mar  8 16:48:13 2020
+++ pkgsrc/textproc/enchant2/buildlink3.mk      Mon Oct 26 17:19:29 2020
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2020/03/08 16:48:13 wiz Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2020/10/26 17:19:29 nia Exp $
 
 BUILDLINK_TREE+=       enchant2
 
@@ -9,6 +9,8 @@ BUILDLINK_API_DEPENDS.enchant2+=        enchant
 BUILDLINK_ABI_DEPENDS.enchant2+=       enchant2>=2.2.8nb1
 BUILDLINK_PKGSRCDIR.enchant2?=         ../../textproc/enchant2
 
+GCC_REQD+=     4.8
+
 # Lots of older software looks for enchant.pc instead of enchant-2.pc.
 ${BUILDLINK_DIR}/lib/pkgconfig/enchant.pc:
        ${MKDIR} ${BUILDLINK_DIR}/lib/pkgconfig



Home | Main Index | Thread Index | Old Index