1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

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)
This commit is contained in:
John Marino 2013-09-13 21:31:47 +00:00
parent 8a65d55b38
commit 5511fddafd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=327187
4 changed files with 4 additions and 0 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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