svn commit: r327187 - in head/lang: php5 php52 php53 php55
John Marino
marino at FreeBSD.org
Fri Sep 13 21:31:49 UTC 2013
Author: marino
Date: Fri Sep 13 21:31:47 2013
New Revision: 327187
URL: http://svnweb.freebsd.org/changeset/ports/327187
Log:
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)
Modified:
head/lang/php5/Makefile.ext
head/lang/php52/Makefile.ext
head/lang/php53/Makefile.ext
head/lang/php55/Makefile.ext
Modified: head/lang/php5/Makefile.ext
==============================================================================
--- head/lang/php5/Makefile.ext Fri Sep 13 21:28:42 2013 (r327186)
+++ head/lang/php5/Makefile.ext Fri Sep 13 21:31:47 2013 (r327187)
@@ -334,6 +334,7 @@ CONFIGURE_ARGS+=--enable-shmop
CONFIGURE_ARGS+=--enable-simplexml \
--with-libxml-dir=${LOCALBASE}
+CFLAGS+= -I${LOCALBASE}/include
USES+= pkgconfig
USE_GNOME= libxml2
.endif
Modified: head/lang/php52/Makefile.ext
==============================================================================
--- head/lang/php52/Makefile.ext Fri Sep 13 21:28:42 2013 (r327186)
+++ head/lang/php52/Makefile.ext Fri Sep 13 21:31:47 2013 (r327187)
@@ -402,6 +402,7 @@ USE_PHP_BUILD= yes
CONFIGURE_ARGS+=--enable-spl \
--with-libxml-dir=${LOCALBASE}
+CFLAGS+= -I${LOCALBASE}/include
USE_GNOME= libxml2
USE_PHP= pcre simplexml
Modified: head/lang/php53/Makefile.ext
==============================================================================
--- head/lang/php53/Makefile.ext Fri Sep 13 21:28:42 2013 (r327186)
+++ head/lang/php53/Makefile.ext Fri Sep 13 21:31:47 2013 (r327187)
@@ -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
Modified: head/lang/php55/Makefile.ext
==============================================================================
--- head/lang/php55/Makefile.ext Fri Sep 13 21:28:42 2013 (r327186)
+++ head/lang/php55/Makefile.ext Fri Sep 13 21:31:47 2013 (r327187)
@@ -334,6 +334,7 @@ CONFIGURE_ARGS+=--enable-shmop
CONFIGURE_ARGS+=--enable-simplexml \
--with-libxml-dir=${LOCALBASE}
+CFLAGS+= -I${LOCALBASE}/include
USES+= pkgconfig
USE_GNOME= libxml2
.endif
More information about the svn-ports-all
mailing list