From bf560041cc195dffb5161a371e6ca97903ebaea2 Mon Sep 17 00:00:00 2001 From: dinoex Date: Sun, 23 Mar 2008 09:45:56 +0000 Subject: - default enable a pool of milter threads - new option SENDMAIL_WITHOUT_MILTER_POOL to disable this --- mail/sendmail/Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'mail') 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 ) -- cgit