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