git: 03b2af65b2fd - main - mail/exim: switch to native SRS implementation (+)

From: Dima Panov <fluffy_at_FreeBSD.org>
Date: Wed, 29 Dec 2021 13:58:07 UTC
The branch main has been updated by fluffy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=03b2af65b2fd11c9e10ab7c27c5cec0ec2851cd4

commit 03b2af65b2fd11c9e10ab7c27c5cec0ec2851cd4
Author:     Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2021-12-29 13:53:55 +0000
Commit:     Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2021-12-29 13:53:55 +0000

    mail/exim: switch to native SRS implementation (+)
    
    Years before Exim used alternative SRS library.
    Since 4.95 release, SRS functions was implemented as native code,
    switch build process tu use it insteasd of outdated alternative
    
    PR:             260789
    Tested by:      Martin Waschbüsch
    Sponsored by:   Netzkommune GmbH
---
 mail/exim/Makefile | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/mail/exim/Makefile b/mail/exim/Makefile
index efb374f816e3..83bfb5aec983 100644
--- a/mail/exim/Makefile
+++ b/mail/exim/Makefile
@@ -2,7 +2,7 @@
 
 PORTNAME=	exim
 PORTVERSION?=	${EXIM_VERSION}
-PORTREVISION?=	0
+PORTREVISION?=	1
 CATEGORIES=	mail
 MASTER_SITES=	EXIM:exim
 MASTER_SITE_SUBDIR=	/exim4/:exim \
@@ -493,9 +493,8 @@ SEDLIST+=	-e 's,XX_SPF_FLAGS_XX,,' \
 .endif
 
 .if ${PORT_OPTIONS:MSRS}
-LIB_DEPENDS+=	libsrs_alt.so:mail/libsrs_alt
-SEDLIST+=	-e 's,XX_SRS_FLAGS_XX,-DEXPERIMENTAL_SRS,' \
-		-e 's,XX_SRS_LIBS_XX,-L${LOCALBASE}/lib -lsrs_alt,'
+SEDLIST+=	-e 's,XX_SRS_FLAGS_XX,-DSUPPORT_SRS,' \
+		-e 's,XX_SRS_LIBS_XX,,'
 .else
 SEDLIST+=	-e 's,XX_SRS_FLAGS_XX,,' \
 		-e 's,XX_SRS_LIBS_XX,,'