aboutsummaryrefslogtreecommitdiffstats
path: root/www/mod_php4
diff options
context:
space:
mode:
authordirk <dirk@FreeBSD.org>1999-08-26 23:03:52 +0800
committerdirk <dirk@FreeBSD.org>1999-08-26 23:03:52 +0800
commitf8db7c7ab01e5710ad42b51661906a85e1342d6c (patch)
tree144f3dd7692ff3014d39d24a54e8643b0aefc514 /www/mod_php4
parenta9f286447e4f51e81c4a0ef993e93f5980239620 (diff)
downloadfreebsd-ports-graphics-f8db7c7ab01e5710ad42b51661906a85e1342d6c.tar.gz
freebsd-ports-graphics-f8db7c7ab01e5710ad42b51661906a85e1342d6c.tar.zst
freebsd-ports-graphics-f8db7c7ab01e5710ad42b51661906a85e1342d6c.zip
Add option for XML support (via textproc/expat).
Diffstat (limited to 'www/mod_php4')
-rw-r--r--www/mod_php4/scripts/configure.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/www/mod_php4/scripts/configure.php b/www/mod_php4/scripts/configure.php
index eb2c7729727..9ff2d48a7fb 100644
--- a/www/mod_php4/scripts/configure.php
+++ b/www/mod_php4/scripts/configure.php
@@ -21,6 +21,7 @@ PostgreSQL "PHP: PostgreSQL database support" OFF \
mSQL "PHP: mSQL database support" OFF \
dBase "PHP: dBase database support" OFF \
OpenLDAP "PHP: OpenLDAP support" OFF \
+XML "PHP: XML support" OFF \
2> /tmp/checklist.tmp.$$
retval=$?
@@ -111,6 +112,12 @@ while [ "$1" ]; do
echo "BUILD_DEPENDS+= \${PREFIX}/lib/liblber.a:\${PORTSDIR}/net/openldap"
echo "PHP_CONF_ARGS+= --with-ldap=\${PREFIX}"
;;
+ \"XML\")
+ echo "BUILD_DEPENDS+= \${PREFIX}/lib/libexpat.a:\${PORTSDIR}/textproc/expat"
+ echo "BUILD_DEPENDS+= \${PREFIX}/include/xml/xmlparse.h:\${PORTSDIR}/textproc/expat"
+ echo "BUILD_DEPENDS+= \${PREFIX}/include/xml/xmltok.h:\${PORTSDIR}/textproc/expat"
+ echo "PHP_CONF_ARGS+= --with-xml=\${PREFIX}"
+ ;;
\"modssl\")
cat << EOF
PKGNAME= apache+php+mod_ssl-\${VERSION_APACHE}+\${VERSION_PHP}+\${VERSION_MODSSL}