Index: head/devel/pecl-intl/Makefile =================================================================== --- head/devel/pecl-intl/Makefile (revision 466397) +++ head/devel/pecl-intl/Makefile (revision 466398) @@ -1,20 +1,22 @@ # Created by: Wen Heping # $FreeBSD$ PORTNAME= intl PORTVERSION= 3.0.0 PORTREVISION= 12 CATEGORIES= devel pear MAINTAINER= sunpoet@FreeBSD.org COMMENT= PECL extension to support Internationalization(ICU) LICENSE= PHP301 LIB_DEPENDS= libicui18n.so:devel/icu IGNORE_WITH_PHP=70 71 72 USES= compiler:c++11-lib php:pecl USE_CXXSTD= gnu++11 +CPPFLAGS+= -DU_USING_ICU_NAMESPACE=1 + .include Index: head/devel/php70-intl/Makefile =================================================================== --- head/devel/php70-intl/Makefile (revision 466397) +++ head/devel/php70-intl/Makefile (revision 466398) @@ -1,13 +1,15 @@ # Created by: Alex Dupre # $FreeBSD$ CATEGORIES= devel MASTERDIR= ${.CURDIR}/../../lang/php70 PKGNAMESUFFIX= -intl USES= compiler:c++11-lib USE_CXXSTD= gnu++11 +CPPFLAGS+= -DU_USING_ICU_NAMESPACE=1 + .include "${MASTERDIR}/Makefile" Index: head/devel/php71-intl/Makefile =================================================================== --- head/devel/php71-intl/Makefile (revision 466397) +++ head/devel/php71-intl/Makefile (revision 466398) @@ -1,12 +1,14 @@ # $FreeBSD$ CATEGORIES= devel MASTERDIR= ${.CURDIR}/../../lang/php71 PKGNAMESUFFIX= -intl USES= compiler:c++11-lib USE_CXXSTD= gnu++11 +CPPFLAGS+= -DU_USING_ICU_NAMESPACE=1 + .include "${MASTERDIR}/Makefile" Index: head/devel/php72-intl/Makefile =================================================================== --- head/devel/php72-intl/Makefile (revision 466397) +++ head/devel/php72-intl/Makefile (revision 466398) @@ -1,12 +1,14 @@ # $FreeBSD$ CATEGORIES= devel MASTERDIR= ${.CURDIR}/../../lang/php72 PKGNAMESUFFIX= -intl USES= compiler:c++11-lib USE_CXXSTD= gnu++11 +CPPFLAGS+= -DU_USING_ICU_NAMESPACE=1 + .include "${MASTERDIR}/Makefile"