pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/enchant2 enchant2: require c++11 support with...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0838424fc95d
branches:  trunk
changeset: 441125:0838424fc95d
user:      nia <nia%pkgsrc.org@localhost>
date:      Mon Oct 26 17:19:29 2020 +0000

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

diffstat:

 textproc/enchant2/Makefile      |  7 +++++--
 textproc/enchant2/buildlink3.mk |  4 +++-
 2 files changed, 8 insertions(+), 3 deletions(-)

diffs (46 lines):

diff -r c315205a6ecb -r 0838424fc95d textproc/enchant2/Makefile
--- a/textproc/enchant2/Makefile        Mon Oct 26 17:04:57 2020 +0000
+++ b/textproc/enchant2/Makefile        Mon Oct 26 17:19:29 2020 +0000
@@ -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 @@
 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 @@
 # 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
 
diff -r c315205a6ecb -r 0838424fc95d textproc/enchant2/buildlink3.mk
--- a/textproc/enchant2/buildlink3.mk   Mon Oct 26 17:04:57 2020 +0000
+++ b/textproc/enchant2/buildlink3.mk   Mon Oct 26 17:19:29 2020 +0000
@@ -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_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