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:
parent
8a65d55b38
commit
5511fddafd
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=327187
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user