aboutsummaryrefslogtreecommitdiffstats
path: root/net/openldap24-server
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2012-03-13 12:06:15 +0800
committerdelphij <delphij@FreeBSD.org>2012-03-13 12:06:15 +0800
commit2d5a7dc37087e37f4cd0cec508b86776b0b5d543 (patch)
tree17ead67717b38942562aa3456425157cd7669568 /net/openldap24-server
parentabf0440c0c99fd53ac53b145c970354b6ca5026f (diff)
downloadfreebsd-ports-gnome-2d5a7dc37087e37f4cd0cec508b86776b0b5d543.tar.gz
freebsd-ports-gnome-2d5a7dc37087e37f4cd0cec508b86776b0b5d543.tar.zst
freebsd-ports-gnome-2d5a7dc37087e37f4cd0cec508b86776b0b5d543.zip
Allow building with Berkeley DB 5.x based on popular demands.
Feature safe: yes
Diffstat (limited to 'net/openldap24-server')
-rw-r--r--net/openldap24-server/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/openldap24-server/Makefile b/net/openldap24-server/Makefile
index f41efc7686cc..5b16069ce187 100644
--- a/net/openldap24-server/Makefile
+++ b/net/openldap24-server/Makefile
@@ -324,7 +324,8 @@ WITH_BDB_VER?= 46
INVALID_BDB_VER= 42
USE_BDB= yes
-.if ${WITH_BDB_VER} >= 43
+# XXX Can BDB 5.x use XY instead of X as version?
+.if ${WITH_BDB_VER} >= 43 || ${WITH_BDB_VER} == 5
CONFIGURE_ARGS+= --enable-bdb=${BACKEND_ENABLE} \
--enable-hdb=${BACKEND_ENABLE}
PLIST_SUB+= BACK_BDB=${BACKEND_PLIST} \