1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-27 10:03:20 +00:00

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
This commit is contained in:
Dima Panov 2021-12-29 16:53:55 +03:00
parent 27132d3fda
commit 03b2af65b2

View File

@ -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,,'