diff options
Diffstat (limited to 'lang/php5')
-rw-r--r-- | lang/php5/Makefile.ext | 12 |
1 files changed, 8 insertions, 4 deletions
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} |