summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lang/php5/Makefile.ext1
-rw-r--r--lang/php52/Makefile.ext1
-rw-r--r--lang/php53/Makefile.ext1
-rw-r--r--lang/php55/Makefile.ext1
4 files changed, 4 insertions, 0 deletions
diff --git a/lang/php5/Makefile.ext b/lang/php5/Makefile.ext
index 1513d8baa165..81cdd263114c 100644
--- a/lang/php5/Makefile.ext
+++ b/lang/php5/Makefile.ext
@@ -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
diff --git a/lang/php52/Makefile.ext b/lang/php52/Makefile.ext
index 6ec0e56126c7..feefc55cd63b 100644
--- a/lang/php52/Makefile.ext
+++ b/lang/php52/Makefile.ext
@@ -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
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
diff --git a/lang/php55/Makefile.ext b/lang/php55/Makefile.ext
index 9c4fba9c836f..63a7189acf12 100644
--- a/lang/php55/Makefile.ext
+++ b/lang/php55/Makefile.ext
@@ -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