aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authordirk <dirk@FreeBSD.org>2002-03-22 06:29:14 +0800
committerdirk <dirk@FreeBSD.org>2002-03-22 06:29:14 +0800
commit8d0b75fe6c81040896363e02972154b5e605d330 (patch)
tree09cb73824034d87328cf4cdc09b18a1e798429d9 /www
parent1fffa6914018334f0f4f75113d78bbacef5d49a0 (diff)
downloadfreebsd-ports-gnome-8d0b75fe6c81040896363e02972154b5e605d330.tar.gz
freebsd-ports-gnome-8d0b75fe6c81040896363e02972154b5e605d330.tar.zst
freebsd-ports-gnome-8d0b75fe6c81040896363e02972154b5e605d330.zip
- Added bzip2 support
- Added XMLRPC support - Added WDDX support PR: ports/36109 Submitted by: Alex Dupre <sysadmin@alexdupre.com>
Diffstat (limited to 'www')
-rw-r--r--www/mod_php4/scripts/configure.php24
-rw-r--r--www/mod_php5/scripts/configure.php24
2 files changed, 48 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}"
diff --git a/www/mod_php5/scripts/configure.php b/www/mod_php5/scripts/configure.php
index bd7b2e38dc16..ee993b3b6dca 100644
--- a/www/mod_php5/scripts/configure.php
+++ b/www/mod_php5/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}"