diff options
author | ale <ale@FreeBSD.org> | 2004-01-16 07:31:49 +0800 |
---|---|---|
committer | ale <ale@FreeBSD.org> | 2004-01-16 07:31:49 +0800 |
commit | d8927a28833df82c91a71e263c2bead8752019fd (patch) | |
tree | 33bf5a1af43513cca672ed7fef408e684087adad /lang/php53 | |
parent | c2d6dae72c3f4e3233080d08142d0ee758ef104d (diff) | |
download | freebsd-ports-gnome-d8927a28833df82c91a71e263c2bead8752019fd.tar.gz freebsd-ports-gnome-d8927a28833df82c91a71e263c2bead8752019fd.tar.zst freebsd-ports-gnome-d8927a28833df82c91a71e263c2bead8752019fd.zip |
Add MS-SQL support.
Chase freetds lib. Bump PORTREVISION.
Requested by: many
Submitted by: Michael Ranner <mranner@inode.at>
Approved by: nork (mentor/implicitly)
Diffstat (limited to 'lang/php53')
-rw-r--r-- | lang/php53/Makefile | 13 | ||||
-rw-r--r-- | lang/php53/scripts/configure.php | 5 | ||||
-rw-r--r-- | lang/php53/scripts/php5_options | 1 |
3 files changed, 13 insertions, 6 deletions
diff --git a/lang/php53/Makefile b/lang/php53/Makefile index 16342a80468f..7fea05ed57f9 100644 --- a/lang/php53/Makefile +++ b/lang/php53/Makefile @@ -21,7 +21,7 @@ PORTNAME= php5 PORTVERSION= 5.0.0.a4 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES?= lang devel www MASTER_SITES= http://www.php.net/distributions/:release \ http://it.php.net/distributions/:release \ @@ -130,7 +130,7 @@ SAPI_FILE= "bin/php" ALL_OPTIONS= BCMATH BZIP2 CALENDAR CDB CRACK CTYPE CURL DB4 DBASE DBX DOM \ EXIF FILEPRO FTP GD GDBM GETTEXT GMP ICONV IMAP INTERBASE \ - INIFILE MBSTRING MCVE MCRYPT MHASH MIME MING MNOGOSEARCH \ + INIFILE MBSTRING MCVE MCRYPT MHASH MIME MING MNOGOSEARCH MSSQL \ MYSQL NCURSES OPENLDAP OPENSSL ORACLE PCNTL PCRE PDFLIB POSIX \ POSTGRESQL PSPELL READLINE RECODE SESSION SHMOP SIMPLEXML SNMP \ SOCKETS SQLITE SYBASEDB SYBASECT SYSVSEM SYSVSHM TIDY \ @@ -361,6 +361,11 @@ LIB_DEPENDS+= udmsearch.1:${PORTSDIR}/www/mnogosearch CONFIGURE_ARGS+=--with-mnogosearch=${LOCALBASE} .endif +.if defined(WITH_MSSQL) +LIB_DEPENDS+= sybdb.4:${PORTSDIR}/databases/freetds-msdblib +CONFIGURE_ARGS+=--with-mssql=${LOCALBASE} +.endif + .if defined(WITH_MYSQL) USE_MYSQL= yes CONFIGURE_ARGS+=--with-mysql=${LOCALBASE} @@ -445,12 +450,12 @@ CONFIGURE_ARGS+=--with-sqlite .endif .if defined(WITH_SYBASEDB) -LIB_DEPENDS+= sybdb.3:${PORTSDIR}/databases/freetds +LIB_DEPENDS+= sybdb.4:${PORTSDIR}/databases/freetds CONFIGURE_ARGS+=--with-sybase=${LOCALBASE} .endif .if defined(WITH_SYBASECT) -LIB_DEPENDS+= ct.1:${PORTSDIR}/databases/freetds +LIB_DEPENDS+= ct.2:${PORTSDIR}/databases/freetds CONFIGURE_ARGS+=--with-sybase-ct=${LOCALBASE} .endif diff --git a/lang/php53/scripts/configure.php b/lang/php53/scripts/configure.php index 24156c67a9a6..8f31a239cc9f 100644 --- a/lang/php53/scripts/configure.php +++ b/lang/php53/scripts/configure.php @@ -47,6 +47,7 @@ MHASH "Crypto-hashing support" ${WITH_MHASH:-OFF} \ MIME "mime_magic support" ${WITH_MIME:-OFF} \ MING "ming shockwave flash support" ${WITH_MING:-OFF} \ MNOGOSEARCH "mnoGoSearch support" ${WITH_MNOGOSEARCH:-OFF} \ +MSSQL "MS-SQL database support" ${WITH_MSSQL:-OFF} \ MYSQL "MySQL database support" ${WITH_MYSQL:-OFF} \ NCURSES "ncurses support (CLI only)" ${WITH_NCURSES:-OFF} \ OPENLDAP "OpenLDAP support" ${WITH_OPENLDAP:-OFF} \ @@ -66,8 +67,8 @@ SIMPLEXML "simplexml support" ${WITH_SIMPLEXML:-OFF} \ SNMP "SNMP support (implies OPENSSL)" ${WITH_SNMP:-OFF} \ SOCKETS "sockets support" ${WITH_SOCKETS:-OFF} \ SQLITE "sqlite support" ${WITH_SQLITE:-OFF} \ -SYBASEDB "Sybase/MS-SQL database support (DB-lib)" ${WITH_SYBASEDB:-OFF} \ -SYBASECT "Sybase/MS-SQL database support (CT-lib)" ${WITH_SYBASECT:-OFF} \ +SYBASEDB "Sybase database support (DB-lib)" ${WITH_SYBASEDB:-OFF} \ +SYBASECT "Sybase database support (CT-lib)" ${WITH_SYBASECT:-OFF} \ SYSVSEM "System V semaphore support" ${WITH_SYSVSEM:-OFF} \ SYSVSHM "System V shared memory support" ${WITH_SYSVSHM:-OFF} \ TIDY "TIDY support" ${WITH_TIDY:-OFF} \ diff --git a/lang/php53/scripts/php5_options b/lang/php53/scripts/php5_options index 859bdaec7f9c..b8886dfe0c76 100644 --- a/lang/php53/scripts/php5_options +++ b/lang/php53/scripts/php5_options @@ -27,6 +27,7 @@ WITH_MHASH=OFF WITH_MIME=OFF WITH_MING=OFF WITH_MNOGOSEARCH=OFF +WITH_MSSQL=OFF WITH_MYSQL=OFF WITH_NCURSES=OFF WITH_OPENLDAP=OFF |