summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authormaya <maya@pkgsrc.org>2017-05-05 08:23:01 +0000
committermaya <maya@pkgsrc.org>2017-05-05 08:23:01 +0000
commit7ce422dbf977e99af7fafd87335ad1e411299b07 (patch)
tree6cdbfa343edff650c1ec98bbe0090c4c53671e4a /textproc
parent45889fb015265f5f94b7dc7216d98f6b3bc9d11d (diff)
downloadpkgsrc-7ce422dbf977e99af7fafd87335ad1e411299b07.tar.gz
php-intl: help CentOS6 builds by requiring a GCC that recognises -std=c++11
Diffstat (limited to 'textproc')
-rw-r--r--textproc/php-intl/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/textproc/php-intl/Makefile b/textproc/php-intl/Makefile
index 418d6e30e4f..aac773aadb5 100644
--- a/textproc/php-intl/Makefile
+++ b/textproc/php-intl/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2017/05/03 08:38:45 jperkin Exp $
+# $NetBSD: Makefile,v 1.30 2017/05/05 08:23:01 maya Exp $
MODNAME= intl
CATEGORIES+= textproc
@@ -10,6 +10,8 @@ USE_LANGUAGES= c c++11
USE_PHP_EXT_PATCHES= yes
CONFIGURE_ARGS+= --enable-${MODNAME}=shared,${BUILDLINK_DIR}
+GCC_REQD+= 4.7 # minimum for -std=c++11
+
.include "../../lang/php/ext.mk"
.include "../../textproc/icu/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"