aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mail/sendmail/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/mail/sendmail/Makefile b/mail/sendmail/Makefile
index 3b5339340a1c..ec418c01ebc0 100644
--- a/mail/sendmail/Makefile
+++ b/mail/sendmail/Makefile
@@ -7,6 +7,7 @@
PORTNAME= sendmail
PORTVERSION= 8.14.2
+PORTREVISION= 1
CATEGORIES= mail ipv6
MASTER_SITES= ftp://ftp.sendmail.org/pub/sendmail/ \
${MASTER_SITE_RINGSERVER:S,%SUBDIR%,net/mail/sendmail/&,}
@@ -50,6 +51,7 @@ MILTER_SOVER?= 4
# SENDMAIL_WITHOUT_SHMEM=yes
# SENDMAIL_WITHOUT_SEM=yes
# SENDMAIL_WITHOUT_LA=yes
+# SENDMAIL_WITHOUT_MILTER_POOL
# SENDMAIL_WITH_TLS=yes
# SENDMAIL_WITH_SMTPS=yes
# SENDMAIL_WITH_SASL=yes
@@ -242,6 +244,14 @@ do-configure:
'APPENDDEF(`confENVDEF'\'', `-DLA_TYPE=LA_ZERO'\'')' \
>> ${WCONF}/site.config.m4
.endif
+.if !defined(SENDMAIL_WITHOUT_MILTER) && !defined(SENDMAIL_WITHOUT_MILTER_POOL)
+ ${ECHO_CMD} \
+ 'APPENDDEF(`conf_libmilter_ENVDEF'\'', `-DSM_CONF_POLL=1'\'')' \
+ >> ${WCONF}/site.config.m4
+ ${ECHO_CMD} \
+ 'APPENDDEF(`conf_libmilter_ENVDEF'\'', `-D_FFR_WORKERS_POOL=1'\'')' \
+ >> ${WCONF}/site.config.m4
+.endif
post-build:
( cd ${WRKSRC}/doc/op && ${MAKE} op.txt )