summaryrefslogtreecommitdiff
path: root/www/mod_php3/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'www/mod_php3/scripts')
-rw-r--r--www/mod_php3/scripts/configure.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/www/mod_php3/scripts/configure.php b/www/mod_php3/scripts/configure.php
index b0e75512844f..0380f9a54d41 100644
--- a/www/mod_php3/scripts/configure.php
+++ b/www/mod_php3/scripts/configure.php
@@ -25,6 +25,7 @@ IMAP "PHP: IMAP support" OFF \
MySQL "PHP: MySQL database support" ON \
PostgreSQL "PHP: PostgreSQL database support" OFF \
mSQL "PHP: mSQL database support" OFF \
+Sybase "PHP: Sybase/MS-SQL database support" OFF \
dBase "PHP: dBase database support" OFF \
OpenLDAP "PHP: OpenLDAP support" OFF \
SNMP "PHP: SNMP support" OFF \
@@ -110,6 +111,12 @@ while [ "$1" ]; do
echo "BUILD_DEPENDS+= msql:\${PORTSDIR}/databases/msql"
echo "PHP_CONF_ARGS+= --with-msql=\${PREFIX}"
;;
+ \"Sybase\")
+ echo "LIB_DEPENDS+= sybdb.0:\${PORTSDIR}/databases/freetds"
+ echo "LIB_DEPENDS+= ct.0:\${PORTSDIR}/databases/freetds"
+ echo "PHP_CONF_ARGS+= --with-sybase=\${PREFIX}"
+ echo "PHP_CONF_ARGS+= --with-sybase-ct=\${PREFIX}"
+ ;;
\"dBase\")
echo "PHP_CONF_ARGS+= --with-dbase"
;;