Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Dec 2025 10:07:46 +0000
From:      Juraj Lutter <otis@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 6a1ed9169bfc - main - mail/postfix-current: Fix build on 15.0 with SASLKRB5
Message-ID:  <694280f2.8777.3b909e24@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by otis:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6a1ed9169bfc0f316d8dc1b8be4f455d5412d3a1

commit 6a1ed9169bfc0f316d8dc1b8be4f455d5412d3a1
Author:     Juraj Lutter <otis@FreeBSD.org>
AuthorDate: 2025-12-17 10:06:20 +0000
Commit:     Juraj Lutter <otis@FreeBSD.org>
CommitDate: 2025-12-17 10:07:24 +0000

    mail/postfix-current: Fix build on 15.0 with SASLKRB5
    
    Kerberos in 15.0 does not provide the old libraries.
    
    PR:             291605
    Reported by:    Christian Hennig <zeha@ccsej.de>
---
 mail/postfix-current/Makefile | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/mail/postfix-current/Makefile b/mail/postfix-current/Makefile
index 920e2e20c879..ab5bc4cfb779 100644
--- a/mail/postfix-current/Makefile
+++ b/mail/postfix-current/Makefile
@@ -247,8 +247,10 @@ POSTFIX_CCARGS+=	-DDEF_SERVER_SASL_TYPE=\\\"dovecot\\\"
 .endif
 
 .if ${PORT_OPTIONS:MSASLKRB5}
-POSTFIX_AUXLIBS+=	-lkrb5 -lhx509 -lcrypto -lcrypt -lcom_err -lasn1 \
-			-lroken
+POSTFIX_AUXLIBS+=      -lkrb5 -lcrypto -lcrypt -lcom_err
+.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1500000
+POSTFIX_AUXLIBS+=      -lasn1 -lhx509 -lroken
+.endif
 .endif
 
 .if ${PORT_OPTIONS:MSASLKMIT}


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?694280f2.8777.3b909e24>