summaryrefslogtreecommitdiff
path: root/mail/exim/Makefile
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@FreeBSD.org>2020-02-18 19:09:10 +0000
committerVsevolod Stakhov <vsevolod@FreeBSD.org>2020-02-18 19:09:10 +0000
commita459454401a48f6b47191412395fa5f56cf2729c (patch)
tree82e7b45f199b7c89280a0e80f12a506519395f59 /mail/exim/Makefile
parentUpdate to upstream version 0.21.20 (diff)
- Fix build for SA_EXIM option
PR: 242518 Reported by: VVD <vvd at unislabs.com>
Notes
Notes: svn path=/head/; revision=526471
Diffstat (limited to 'mail/exim/Makefile')
-rw-r--r--mail/exim/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/exim/Makefile b/mail/exim/Makefile
index 1442f6612d0f..d072975f354b 100644
--- a/mail/exim/Makefile
+++ b/mail/exim/Makefile
@@ -96,6 +96,7 @@ IGNORE= you cannot enable DANE without DNSSEC support or without TLS support
MASTER_SITES+= http://marc.merlins.org/linux/exim/files/:sa_exim \
SF/sa-exim/sa-exim/${SA_EXIM_VERSION}:sa_exim
DISTFILES+= sa-exim-${SA_EXIM_VERSION}.tar.gz:sa_exim
+EXTRA_PATCHES+= files/extra-patch-Local-sa-exim.c
.endif
EXIM_VERSION= 4.93
@@ -550,6 +551,7 @@ pre-everything::
post-extract:
.if ${PORT_OPTIONS:MSA_EXIM}
@cd ${WRKDIR} && ${TAR} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/sa-exim-${SA_EXIM_VERSION}.tar.gz ${EXTRACT_AFTER_ARGS}
+ @@${CP} ${WRKDIR}/sa-exim-${SA_EXIM_VERSION}/sa-exim.c ${WRKSRC}/Local
.endif
do-configure:
@@ -571,7 +573,6 @@ do-configure:
${WRKSRC}/OS/Makefile-Default
@${REINPLACE_CMD} -E -e 's/^(LOCAL_SCAN_SOURCE=).*/\1Local\/sa-exim.c/' \
${WRKSRC}/OS/Makefile-Default
- @${CP} ${WRKDIR}/sa-exim-${SA_EXIM_VERSION}/sa-exim.c ${WRKSRC}/Local
@{ \
${ECHO_CMD} "char *version=\"${SA_EXIM_VERSION}\";"; \
${ECHO_CMD} "#define SPAMC_LOCATION \"${LOCALBASE}/bin/spamc\""; \