Allow building with Berkeley DB 5.x based on popular demands.

Feature safe:	yes
This commit is contained in:
Xin LI 2012-03-13 04:06:15 +00:00
parent c1f420606c
commit fe22c3acd8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=293202

View file

@ -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} \