enchant2: require c++11 support with GCC_REQD instead of USE_LANGUAGES.
This commit is contained in:
parent
ae90e11b10
commit
73975085ce
2 changed files with 8 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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+= enchant2>=2
|
|||
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
|
||||
|
|
Loading…
Reference in a new issue