summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lang/php5/Makefile.ext3
-rw-r--r--lang/php53/Makefile.ext3
2 files changed, 2 insertions, 4 deletions
diff --git a/lang/php5/Makefile.ext b/lang/php5/Makefile.ext
index 7408a0393473..ef5dde8936ff 100644
--- a/lang/php5/Makefile.ext
+++ b/lang/php5/Makefile.ext
@@ -515,9 +515,8 @@ CONFIGURE_ARGS+=--without-cdb
. if defined(WITH_DB4)
CONFIGURE_ARGS+=--with-db4=${LOCALBASE}
-USE_BDB= yes
+USE_BDB= 40+
WITH_BDB_HIGHEST= yes
-INVALID_BDB_VER= 2 3
. endif
. if defined(WITH_GDBM)
LIB_DEPENDS+= gdbm.3:${PORTSDIR}/databases/gdbm
diff --git a/lang/php53/Makefile.ext b/lang/php53/Makefile.ext
index 7408a0393473..ef5dde8936ff 100644
--- a/lang/php53/Makefile.ext
+++ b/lang/php53/Makefile.ext
@@ -515,9 +515,8 @@ CONFIGURE_ARGS+=--without-cdb
. if defined(WITH_DB4)
CONFIGURE_ARGS+=--with-db4=${LOCALBASE}
-USE_BDB= yes
+USE_BDB= 40+
WITH_BDB_HIGHEST= yes
-INVALID_BDB_VER= 2 3
. endif
. if defined(WITH_GDBM)
LIB_DEPENDS+= gdbm.3:${PORTSDIR}/databases/gdbm