aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2022-05-09 18:56:31 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2022-05-09 18:58:30 +0000
commita396e4f131341b58bf897f73d1ce1f8a6f6e5256 (patch)
treea37ec2582a142a253472c675496f74e1275754e2
parente1d13b5b0418c5eb30c5c2b2372272fda2f157f2 (diff)
downloadports-a396e4f131341b58bf897f73d1ce1f8a6f6e5256.tar.gz
ports-a396e4f131341b58bf897f73d1ce1f8a6f6e5256.zip
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.
-rw-r--r--Mk/Uses/bdb.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/Uses/bdb.mk b/Mk/Uses/bdb.mk
index 645b9e9a7b0e..0316ff061229 100644
--- a/Mk/Uses/bdb.mk
+++ b/Mk/Uses/bdb.mk
@@ -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