summaryrefslogtreecommitdiff
path: root/www/mod_php4
diff options
context:
space:
mode:
authorDirk Froemberg <dirk@FreeBSD.org>2002-03-21 22:29:14 +0000
committerDirk Froemberg <dirk@FreeBSD.org>2002-03-21 22:29:14 +0000
commitec413890966a37ec1f593ecaa83f06a94e4605a0 (patch)
tree96a0ed0dec45fa93085a68ed079afdd04c5544f2 /www/mod_php4
parent- Cleaned up XML-related extensions (diff)
- Added bzip2 support
- Added XMLRPC support - Added WDDX support PR: ports/36109 Submitted by: Alex Dupre <sysadmin@alexdupre.com>
Notes
Notes: svn path=/head/; revision=56428
Diffstat (limited to 'www/mod_php4')
-rw-r--r--www/mod_php4/scripts/configure.php24
1 files changed, 24 insertions, 0 deletions
diff --git a/www/mod_php4/scripts/configure.php b/www/mod_php4/scripts/configure.php
index bd7b2e38dc16..ee993b3b6dca 100644
--- a/www/mod_php4/scripts/configure.php
+++ b/www/mod_php4/scripts/configure.php
@@ -19,6 +19,7 @@ else
Please select desired options:" -1 -1 16 \
GD "GD library support" OFF \
zlib "zlib library support" ON \
+bzip2 "bzip2 library support" OFF \
mcrypt "Encryption support" OFF \
mhash "Crypto-hashing support" OFF \
pdflib "pdflib support" OFF \
@@ -35,7 +36,9 @@ OpenLDAP2 "OpenLDAP 2.x support" OFF \
OpenSSL "OpenSSL support" OFF \
SNMP "SNMP support" OFF \
XML "XML support" OFF \
+XMLRPC "XMLRPC-EPI support (implies XML)" OFF \
XSLT "Sablotron support (implies XML and iconv)" OFF \
+WDDX "WDDX support (implies XML)" OFF \
DOMXML "DOM support" OFF \
FTP "File Transfer Protocol support" OFF \
CURL "CURL support" OFF \
@@ -93,6 +96,15 @@ while [ "$1" ]; do
echo "CONFIGURE_ARGS+=--with-zlib"
ZLIB=1
;;
+ \"bzip2\")
+ if [ -x /usr/bin/bzip2 ]; then
+ BZ2PREFIX=/usr
+ else
+ BZ2PREFIX=/usr/local
+ echo "LIB_DEPENDS+= bz2.1:\${PORTSDIR}/archivers/bzip2"
+ fi
+ echo "CONFIGURE_ARGS+=--with-bz2=${BZ2PREFIX}"
+ ;;
\"mcrypt\")
echo "LIB_DEPENDS+= mcrypt.6:\${PORTSDIR}/security/libmcrypt"
echo "CONFIGURE_ARGS+=--with-mcrypt=\${LOCALBASE}"
@@ -213,6 +225,12 @@ while [ "$1" ]; do
echo "CONFIGURE_ARGS+=--with-expat-dir=\${LOCALBASE}"
XML=1
;;
+ \"XMLRPC\")
+ echo "CONFIGURE_ARGS+=--with-xmlrpc"
+ if [ -z "$XML" ]; then
+ set $* \"XML\"
+ fi
+ ;;
\"XSLT\")
echo "LIB_DEPENDS+= sablot.67:\${PORTSDIR}/textproc/sablotron"
echo "CONFIGURE_ARGS+=--enable-xslt --with-xslt-sablot"
@@ -223,6 +241,12 @@ while [ "$1" ]; do
set $* \"iconv\"
fi
;;
+ \"WDDX\")
+ echo "CONFIGURE_ARGS+=--enable-wddx"
+ if [ -z "$XML" ]; then
+ set $* \"XML\"
+ fi
+ ;;
\"DOMXML\")
echo "LIB_DEPENDS+= xml2.5:\${PORTSDIR}/textproc/libxml2"
echo "CONFIGURE_ARGS+=--with-dom=\${LOCALBASE}"