git: e79fe442bd3c - main - mail/postfix: Fix build on 15.0 with SASLKRB5
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 17 Dec 2025 10:07:45 UTC
The branch main has been updated by otis:
URL: https://cgit.FreeBSD.org/ports/commit/?id=e79fe442bd3cad04c2cd34d255a8fb246215d78f
commit e79fe442bd3cad04c2cd34d255a8fb246215d78f
Author: Juraj Lutter <otis@FreeBSD.org>
AuthorDate: 2025-12-17 10:04:32 +0000
Commit: Juraj Lutter <otis@FreeBSD.org>
CommitDate: 2025-12-17 10:07:23 +0000
mail/postfix: 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/Makefile | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/mail/postfix/Makefile b/mail/postfix/Makefile
index 0f947a9e5bb4..2f0fd1b9bbd1 100644
--- a/mail/postfix/Makefile
+++ b/mail/postfix/Makefile
@@ -262,8 +262,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}