From f8db7c7ab01e5710ad42b51661906a85e1342d6c Mon Sep 17 00:00:00 2001 From: dirk Date: Thu, 26 Aug 1999 15:03:52 +0000 Subject: Add option for XML support (via textproc/expat). --- www/mod_php4/scripts/configure.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'www/mod_php4') 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} -- cgit