git: 45201bc747dd - main - mail/exim: add OPTION to enable TLS authenfication (+)

From: Dima Panov <fluffy_at_FreeBSD.org>
Date: Sat, 24 Jun 2023 13:46:13 UTC
The branch main has been updated by fluffy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=45201bc747ddd1876e01b5d768f3f90f785f9d4a

commit 45201bc747ddd1876e01b5d768f3f90f785f9d4a
Author:     Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2023-06-24 13:45:26 +0000
Commit:     Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2023-06-24 13:45:26 +0000

    mail/exim: add OPTION to enable TLS authenfication (+)
    
    PR:     271881
---
 mail/exim/Makefile | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/mail/exim/Makefile b/mail/exim/Makefile
index 93a6336c072d..98565c95aa5a 100644
--- a/mail/exim/Makefile
+++ b/mail/exim/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	exim
 PORTVERSION?=	${EXIM_VERSION}
-PORTREVISION?=	0
+PORTREVISION?=	1
 CATEGORIES=	mail
 MASTER_SITES=	EXIM:exim
 MASTER_SITE_SUBDIR=	/exim4/:exim \
@@ -408,6 +408,10 @@ SEDLIST+=	-e 's,^\# (AUTH_CYRUS_SASL=),\1,' \
 		-e 's,^\# (AUTH_LIBS=.*-lsasl2),\1,'
 .endif
 
+.if ${PORT_OPTIONS:MAUTH_TLS}
+SEDLIST+=	-e 's,^\# (AUTH_TLS=),\1,'
+.endif
+
 .if ${PORT_OPTIONS:MAUTH_RADIUS}
 WITH_RADIUS_TYPE?=	RADLIB
 .if ${WITH_RADIUS_TYPE:tl} == radlib