Mk/Uses/bdb.mk: Allow bdb:18 to work by default.

mail/mutt currently has USES=bdb:18 which causes an obscure error in
Poudriere causing it to be IGNORED unless WITH_BDB6_PERMITTED is set.
We already have a license framework so this flag seems odd but in the
case where a port explicitly is asking for the version it makes sense
to permit it as the default.
This commit is contained in:
Bryan Drewery 2022-05-09 11:56:31 -07:00
parent e1d13b5b04
commit a396e4f131

View File

@ -63,7 +63,7 @@ _DB_DEFAULTS= 5
# Since 2020-12-02, this name is not fitting too much but
# retained for now for compatibility. The name of this variable
# is subject to change especially once db6 were removed.
. if defined(WITH_BDB6_PERMITTED)
. if defined(WITH_BDB6_PERMITTED) || ${_bdb_ARGS} == 18
_DB_DEFAULTS+= 18
. endif