diff options
author | Dirk Froemberg <dirk@FreeBSD.org> | 2000-02-29 21:46:06 +0000 |
---|---|---|
committer | Dirk Froemberg <dirk@FreeBSD.org> | 2000-02-29 21:46:06 +0000 |
commit | 1372371f5f2ccffc78b723f96862eb12bd509071 (patch) | |
tree | c98f250a278d59402e6d4567d11e15b273bec84b /www/mod_php3/scripts | |
parent | Update port to 0.3.5 (diff) |
Add Sybase/MS-SQL database support for PHP.
PR: ports/16980
Submitted by: Yung-Jeng Hung <winard@ritax.dorm.ccu.edu.tw>
Dmitry Petrov <DPetrov@nchcapital.com>
Diffstat (limited to 'www/mod_php3/scripts')
-rw-r--r-- | www/mod_php3/scripts/configure.php | 7 |
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" ;; |