diff options
author | ale <ale@FreeBSD.org> | 2004-01-24 21:15:54 +0800 |
---|---|---|
committer | ale <ale@FreeBSD.org> | 2004-01-24 21:15:54 +0800 |
commit | ac5b4f4dd5afb6b491dfcca3743d461f2105b592 (patch) | |
tree | a0b1a7000b60adba837ad98dbe49a0ac11c358d6 /lang/php5/Makefile | |
parent | a92bf491b92bf75411bfd9ca7e1b15654ac83561 (diff) | |
download | freebsd-ports-gnome-ac5b4f4dd5afb6b491dfcca3743d461f2105b592.tar.gz freebsd-ports-gnome-ac5b4f4dd5afb6b491dfcca3743d461f2105b592.tar.zst freebsd-ports-gnome-ac5b4f4dd5afb6b491dfcca3743d461f2105b592.zip |
- Better handling of snmp dependency [1]
- Add support for BDB 4.1 [2]
- Better handling of postgresql dependency [3]
- Add new direct I/O extension [4]
PR: 58920 [1], 60541 [2], 61409 [3]
Submitted by: Dirk Meyer <dirk.meyer@dinoex.sub.org> [1] [3],
Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net> [2],
Izzy Kindred <ikindred@cox.net> [4]
Approved by: nork (mentor/implicitly)
Diffstat (limited to 'lang/php5/Makefile')
-rw-r--r-- | lang/php5/Makefile | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/lang/php5/Makefile b/lang/php5/Makefile index a062df5f40da..b2f71a4bf5f1 100644 --- a/lang/php5/Makefile +++ b/lang/php5/Makefile @@ -128,8 +128,8 @@ PLIST_SUB+= CLI="" SAPI_FILE= "bin/php" .endif -ALL_OPTIONS= BCMATH BZIP2 CALENDAR CDB CRACK CTYPE CURL DB4 DBASE DBX DOM \ - EXIF FILEPRO FTP GD GDBM GETTEXT GMP ICONV IMAP INTERBASE \ +ALL_OPTIONS= BCMATH BZIP2 CALENDAR CDB CRACK CTYPE CURL DB4 DBASE DBX DIO \ + DOM EXIF FILEPRO FTP GD GDBM GETTEXT GMP ICONV IMAP INTERBASE \ 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 \ @@ -243,7 +243,12 @@ CONFIGURE_ARGS+=--with-curl=${LOCALBASE} .endif .if defined(WITH_DB4) +WITH_DB4_VER?= 41 +.if ${WITH_DB4_VER} == 4 LIB_DEPENDS+= db4.0:${PORTSDIR}/databases/db4 +.else +LIB_DEPENDS+= db41.1:${PORTSDIR}/databases/db41 +.endif CONFIGURE_ARGS+=--with-db4=${LOCALBASE} .endif @@ -259,6 +264,10 @@ CONFIGURE_ARGS+=--enable-dbase CONFIGURE_ARGS+=--enable-dbx .endif +.if defined(WITH_DIO) +CONFIGURE_ARGS+=--enable-dio +.endif + .if defined(WITH_DOM) CONFIGURE_ARGS+=--enable-dom .endif @@ -411,7 +420,8 @@ CONFIGURE_ARGS+=--enable-posix .endif .if defined(WITH_POSTGRESQL) -LIB_DEPENDS+= pq.3:${PORTSDIR}/databases/postgresql-client +POSTGRESQL_PORT?= databases/postgresql-client +LIB_DEPENDS+= pq.3:${PORTSDIR}/${POSTGRESQL_PORT} CONFIGURE_ARGS+=--with-pgsql=${LOCALBASE} .endif @@ -586,7 +596,7 @@ CONFIGURE_ARGS+=--with-ncurses=${NCURSESBASE} .endif .if defined(WITH_SNMP) -.if exists(${LOCALBASE}/lib/libsnmp.so.4) +.if exists(${LOCALBASE}/lib/libsnmp.so.4) || defined(WITH_SNMP4) LIB_DEPENDS+= snmp.4:${PORTSDIR}/net/net-snmp4 .else LIB_DEPENDS+= netsnmp.6:${PORTSDIR}/net/net-snmp |