git: 04535dc7ca48 - main - mail/postfix: Enable CDB and LMDB by default

From: Juraj Lutter <otis_at_FreeBSD.org>
Date: Tue, 17 Mar 2026 19:20:35 UTC
The branch main has been updated by otis:

URL: https://cgit.FreeBSD.org/ports/commit/?id=04535dc7ca481c3d261b322ba0ff14c023ea4452

commit 04535dc7ca481c3d261b322ba0ff14c023ea4452
Author:     Juraj Lutter <otis@FreeBSD.org>
AuthorDate: 2026-03-17 19:18:28 +0000
Commit:     Juraj Lutter <otis@FreeBSD.org>
CommitDate: 2026-03-17 19:18:28 +0000

    mail/postfix: Enable CDB and LMDB by default
    
    Adding these solves a cross-compatibility problem with Linux distros
    that have dropped bdb support.  Per Postfix's document[1] on it, lmdb
    and cdb are the replacements for hash and btree, respectively.
    
    [1] http://www.postfix.org/NON_BERKELEYDB_README.html
    
    PR:             293852
---
 mail/postfix/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/mail/postfix/Makefile b/mail/postfix/Makefile
index c4759813643e..739c8e81a838 100644
--- a/mail/postfix/Makefile
+++ b/mail/postfix/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	postfix
 DISTVERSION=	3.11.1
-PORTREVISION?=	0
+PORTREVISION?=	1
 PORTEPOCH=	1
 CATEGORIES=	mail
 MASTER_SITES=	https://postfix-mirror.horus-it.com/postfix-release/ \
@@ -97,7 +97,7 @@ GROUPS=		mail maildrop postfix
 
 OPTIONS_DEFINE=		BDB BLACKLISTD CDB DOCS EAI INST_BASE LDAP LMDB MONGO \
 			MYSQL NIS PCRE2 PGSQL SASL SQLITE TEST TLS TLSRPT
-OPTIONS_DEFAULT?=	BLACKLISTD EAI PCRE2 TLS
+OPTIONS_DEFAULT?=	BLACKLISTD CDB EAI LMDB PCRE2 TLS
 OPTIONS_RADIO=		RG1
 OPTIONS_RADIO_RG1=	SASLKMIT SASLKRB5
 .if ${FLAVOR:U} == ldap