summaryrefslogtreecommitdiff
path: root/www/mod_php5/scripts/configure.php
diff options
context:
space:
mode:
Diffstat (limited to 'www/mod_php5/scripts/configure.php')
-rw-r--r--www/mod_php5/scripts/configure.php22
1 files changed, 22 insertions, 0 deletions
diff --git a/www/mod_php5/scripts/configure.php b/www/mod_php5/scripts/configure.php
index 492f6bac000f..03b51e5ace1b 100644
--- a/www/mod_php5/scripts/configure.php
+++ b/www/mod_php5/scripts/configure.php
@@ -21,6 +21,8 @@ IMAP "IMAP support" OFF \
MySQL "MySQL database support" ON \
PostgreSQL "PostgreSQL database support" OFF \
mSQL "mSQL database support" OFF \
+SybaseDB "Sybase/MS-SQL database support (DB-lib)" OFF \
+SybaseCT "Sybase/MS-SQL database support (CT-lib)" OFF \
dBase "dBase database support" OFF \
OpenLDAP "OpenLDAP support" OFF \
SNMP "SNMP support" OFF \
@@ -106,6 +108,26 @@ while [ "$1" ]; do
echo "BUILD_DEPENDS+= msql:\${PORTSDIR}/databases/msql"
echo "CONFIGURE_ARGS+=--with-msql=\${PREFIX}"
;;
+ \"SybaseDB\")
+ echo "LIB_DEPENDS+= sybdb.0:\${PORTSDIR}/databases/freetds"
+ echo "CONFIGURE_ARGS+=--with-sybase=\${PREFIX}"
+ if [ "$SYBASECT" ]; then
+ echo "SybaseDB and SybaseCT are mutually exclusive." > /dev/stderr
+ rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
+ exit 1
+ fi
+ SYBASEDB=1
+ ;;
+ \"SybaseCT\")
+ echo "LIB_DEPENDS+= ct.0:\${PORTSDIR}/databases/freetds"
+ echo "CONFIGURE_ARGS+=--with-sybase-ct=\${PREFIX}"
+ if [ "$SYBASEDB" ]; then
+ echo "SybaseDB and SybaseCT are mutually exclusive." > /dev/stderr
+ rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
+ exit 1
+ fi
+ SYBASECT=1
+ ;;
\"dBase\")
echo "CONFIGURE_ARGS+=--with-dbase"
;;