summaryrefslogtreecommitdiff
path: root/lang/php53
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2013-09-13 21:31:47 +0000
committerJohn Marino <marino@FreeBSD.org>2013-09-13 21:31:47 +0000
commit5511fddafda936d485ea525e58bf9b64036f9e61 (patch)
tree8db778c50d64049b65a48b69bb1963774cd4321d /lang/php53
parentAdd missing LICENSE (diff)
lang/php5*: Fix spl/simplexml modules (4 ports)
The simplexml module uses spl which uses pcre (php53,54,55). For php52, the fix is applied directly to spl. In any case, the bundled PCRE is not used, so it needs to be able to find the external pcre library and related headers. Unfortunately, there is no include for ${LOCALBASE}/include directory. This commit adds to fix simplexml (or spl) module build. Approved by: portmgr (bapt)
Notes
Notes: svn path=/head/; revision=327187
Diffstat (limited to 'lang/php53')
-rw-r--r--lang/php53/Makefile.ext1
1 files changed, 1 insertions, 0 deletions
diff --git a/lang/php53/Makefile.ext b/lang/php53/Makefile.ext
index 4e3fa0139e65..cf2d461c3fb7 100644
--- a/lang/php53/Makefile.ext
+++ b/lang/php53/Makefile.ext
@@ -328,6 +328,7 @@ CONFIGURE_ARGS+=--enable-shmop
CONFIGURE_ARGS+=--enable-simplexml \
--with-libxml-dir=${LOCALBASE}
+CFLAGS+= -I${LOCALBASE}/include
USES+= pkgconfig
USE_GNOME= libxml2
.endif