diff options
author | ale <ale@FreeBSD.org> | 2005-06-14 22:47:26 +0800 |
---|---|---|
committer | ale <ale@FreeBSD.org> | 2005-06-14 22:47:26 +0800 |
commit | a1ad353e79d2265672780d7d1b772211bffcafcf (patch) | |
tree | df20bf0d42d65f8f9d5519f3edac89813321dc01 /lang | |
parent | 7b42cce7da052274f6bfd630f3e1a18efece7227 (diff) | |
download | freebsd-ports-gnome-a1ad353e79d2265672780d7d1b772211bffcafcf.tar.gz freebsd-ports-gnome-a1ad353e79d2265672780d7d1b772211bffcafcf.tar.zst freebsd-ports-gnome-a1ad353e79d2265672780d7d1b772211bffcafcf.zip |
Add support for Berkeley DB 4.3 and set it as default version.
PR: ports/82019
Submitted by: Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net>
Diffstat (limited to 'lang')
-rw-r--r-- | lang/php4/Makefile.ext | 14 | ||||
-rw-r--r-- | lang/php5/Makefile.ext | 12 | ||||
-rw-r--r-- | lang/php53/Makefile.ext | 12 |
3 files changed, 23 insertions, 15 deletions
diff --git a/lang/php4/Makefile.ext b/lang/php4/Makefile.ext index 75c153c20bee..c39cfe598a23 100644 --- a/lang/php4/Makefile.ext +++ b/lang/php4/Makefile.ext @@ -386,17 +386,17 @@ CONFIGURE_ARGS+=--with-zlib=/usr CONFIGURE_ARGS+=--without-cdb . endif . if defined(WITH_DB4) -WITH_DB4_VER?= 41 -. if ${WITH_DB4_VER} == 43 -LIB_DEPENDS+= db-4.3.0:${PORTSDIR}/databases/db43 -. else +WITH_DB4_VER?= 43 . if ${WITH_DB4_VER} == 42 -LIB_DEPENDS+= db-4.2.2:${PORTSDIR}/databases/db42 +LIB_DEPENDS+= db-4.2.2:${PORTSDIR}/databases/db42 +. else +. if ${WITH_DB4_VER} == 41 +LIB_DEPENDS+= db41.1:${PORTSDIR}/databases/db41 . else . if ${WITH_DB4_VER} == 4 -LIB_DEPENDS+= db4.0:${PORTSDIR}/databases/db4 +LIB_DEPENDS+= db4.0:${PORTSDIR}/databases/db4 . else -LIB_DEPENDS+= db41.1:${PORTSDIR}/databases/db41 +LIB_DEPENDS+= db-4.3.0:${PORTSDIR}/databases/db43 . endif . endif . endif diff --git a/lang/php5/Makefile.ext b/lang/php5/Makefile.ext index c3774d39f8fb..01f62c8d8a4d 100644 --- a/lang/php5/Makefile.ext +++ b/lang/php5/Makefile.ext @@ -407,14 +407,18 @@ CONFIGURE_ARGS+=--with-zlib=/usr CONFIGURE_ARGS+=--without-cdb . endif . if defined(WITH_DB4) -WITH_DB4_VER?= 41 +WITH_DB4_VER?= 43 . if ${WITH_DB4_VER} == 42 -LIB_DEPENDS+= db-4.2.2:${PORTSDIR}/databases/db42 +LIB_DEPENDS+= db-4.2.2:${PORTSDIR}/databases/db42 +. else +. if ${WITH_DB4_VER} == 41 +LIB_DEPENDS+= db41.1:${PORTSDIR}/databases/db41 . else . if ${WITH_DB4_VER} == 4 -LIB_DEPENDS+= db4.0:${PORTSDIR}/databases/db4 +LIB_DEPENDS+= db4.0:${PORTSDIR}/databases/db4 . else -LIB_DEPENDS+= db41.1:${PORTSDIR}/databases/db41 +LIB_DEPENDS+= db-4.3.0:${PORTSDIR}/databases/db43 +. endif . endif . endif CONFIGURE_ARGS+=--with-db4=${LOCALBASE} diff --git a/lang/php53/Makefile.ext b/lang/php53/Makefile.ext index c3774d39f8fb..01f62c8d8a4d 100644 --- a/lang/php53/Makefile.ext +++ b/lang/php53/Makefile.ext @@ -407,14 +407,18 @@ CONFIGURE_ARGS+=--with-zlib=/usr CONFIGURE_ARGS+=--without-cdb . endif . if defined(WITH_DB4) -WITH_DB4_VER?= 41 +WITH_DB4_VER?= 43 . if ${WITH_DB4_VER} == 42 -LIB_DEPENDS+= db-4.2.2:${PORTSDIR}/databases/db42 +LIB_DEPENDS+= db-4.2.2:${PORTSDIR}/databases/db42 +. else +. if ${WITH_DB4_VER} == 41 +LIB_DEPENDS+= db41.1:${PORTSDIR}/databases/db41 . else . if ${WITH_DB4_VER} == 4 -LIB_DEPENDS+= db4.0:${PORTSDIR}/databases/db4 +LIB_DEPENDS+= db4.0:${PORTSDIR}/databases/db4 . else -LIB_DEPENDS+= db41.1:${PORTSDIR}/databases/db41 +LIB_DEPENDS+= db-4.3.0:${PORTSDIR}/databases/db43 +. endif . endif . endif CONFIGURE_ARGS+=--with-db4=${LOCALBASE} |