summaryrefslogtreecommitdiff
path: root/lang/php4/Makefile
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2004-01-15 23:31:49 +0000
committerAlex Dupre <ale@FreeBSD.org>2004-01-15 23:31:49 +0000
commit0c575993b8fc934b870c6af6deb6b01843bd4c31 (patch)
treed5aa1627f21aa4390e83a7d51a0b25f7defed094 /lang/php4/Makefile
parent- Update to 1.0 beta13 (diff)
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/php4/Makefile')
-rw-r--r--lang/php4/Makefile21
1 files changed, 13 insertions, 8 deletions
diff --git a/lang/php4/Makefile b/lang/php4/Makefile
index 7a3a04e19d74..0379b6bfabf7 100644
--- a/lang/php4/Makefile
+++ b/lang/php4/Makefile
@@ -21,7 +21,7 @@
PORTNAME= php4
PORTVERSION= 4.3.4
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES?= lang devel www
MASTER_SITES= http://www.php.net/distributions/:release \
http://it.php.net/distributions/:release \
@@ -127,11 +127,11 @@ SAPI_FILE= "bin/php"
ALL_OPTIONS= BCMATH BZIP2 CALENDAR CDB CRACK CTYPE CURL DB4 DBASE DBX \
DOMXML DOMXSLT EXIF FILEPRO FRIBIDI FTP GD GDBM GETTEXT \
GMP HYPERWAVE ICONV IMAP INTERBASE INIFILE MBSTRING MCAL MCVE \
- MCRYPT MHASH MIME MING MNOGOSEARCH MYSQL NCURSES OPENLDAP \
- OPENSSL ORACLE OVERLOAD PCNTL PCRE PDFLIB POSIX POSTGRESQL \
- PSPELL READLINE RECODE SESSION SHMOP SNMP SOCKETS SYBASEDB \
- SYBASECT SYSVSEM SYSVSHM TOKENIZER UNIXODBC WDDX XML XMLRPC \
- XSLT YAZ YP ZIP ZLIB
+ MCRYPT MHASH MIME MING MNOGOSEARCH MSSQL MYSQL NCURSES \
+ OPENLDAP OPENSSL ORACLE OVERLOAD PCNTL PCRE PDFLIB POSIX \
+ POSTGRESQL PSPELL READLINE RECODE SESSION SHMOP SNMP SOCKETS \
+ SYBASEDB SYBASECT SYSVSEM SYSVSHM TOKENIZER UNIXODBC WDDX XML \
+ XMLRPC XSLT YAZ YP ZIP ZLIB
.for opt in ${ALL_OPTIONS}
.if defined(WITH_${opt}) || defined(WITHOUT_${opt})
@@ -379,6 +379,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}
@@ -459,12 +464,12 @@ CONFIGURE_ARGS+=--enable-sockets
.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