Restore srs_alt support.

PR:		191950
Submitted by:	pi
This commit is contained in:
Vsevolod Stakhov 2014-07-18 14:37:02 +00:00
parent 00dbc9d394
commit 9b339576b8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=362210
2 changed files with 7 additions and 1 deletions

View file

@ -3,7 +3,7 @@
PORTNAME= exim
PORTVERSION?= ${EXIM_VERSION}
PORTREVISION= 6
PORTREVISION= 7
CATEGORIES= mail ipv6
MASTER_SITES= ${MASTER_SITE_EXIM:S/$/:exim/}
MASTER_SITE_SUBDIR= exim4/:exim
@ -427,6 +427,10 @@ SEDLIST+= -e 's,XX_SPF_FLAGS_XX,,' \
LIB_DEPENDS+= libsrs2.so:${PORTSDIR}/mail/libsrs2
SEDLIST+= -e 's,XX_SRS_FLAGS_XX,-DSRS,' \
-e 's,XX_SRS_LIBS_XX,-L${LOCALBASE}/lib -lsrs2,'
.elif ${PORT_OPTIONS:MSRS_ALT}
LIB_DEPENDS+= libsrs_alt.so:${PORTSDIR}/mail/libsrs_alt
SEDLIST+= -e 's,XX_SRS_FLAGS_XX,-DEXPERIMENTAL_SRS,' \
-e 's,XX_SRS_LIBS_XX,-L${LOCALBASE}/lib -lsrs_alt,'
.else
SEDLIST+= -e 's,XX_SRS_FLAGS_XX,,' \
-e 's,XX_SRS_LIBS_XX,,'

View file

@ -18,6 +18,7 @@ OPTIONS_DEFINE+= ALT_CONFIG_PREFIX \
READLINE \
SPF \
SRS \
SRS_ALT \
SUID \
TCP_WRAPPERS \
WISHLIST \
@ -104,6 +105,7 @@ SO_1024_DESC= Build with Spamooborona-1024 local scan
SPF_DESC= Enable Sender Policy Framework checking
SQLITE_DESC= Enable SQLite lookups
SRS_DESC= Enable Sender Rewriting Scheme
SRS_ALT_DESC= Enable alternative Sender Rewriting Scheme
SUID_DESC= Install the exim binary suid root
TCP_WRAPPERS_DESC= Enable /etc/hosts.allow access control
GNUTLS_DESC= Use GnuTLS instead of OpenSSL for TLS