diff options
author | dinoex <dinoex@FreeBSD.org> | 2008-03-23 17:45:56 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2008-03-23 17:45:56 +0800 |
commit | bf560041cc195dffb5161a371e6ca97903ebaea2 (patch) | |
tree | fd22a504e264b100c889707101bd828a276e30cd /mail/sendmail | |
parent | 7d607cc7fa1b654946fda102a18a2f33df6dbc25 (diff) | |
download | freebsd-ports-gnome-bf560041cc195dffb5161a371e6ca97903ebaea2.tar.gz freebsd-ports-gnome-bf560041cc195dffb5161a371e6ca97903ebaea2.tar.zst freebsd-ports-gnome-bf560041cc195dffb5161a371e6ca97903ebaea2.zip |
- default enable a pool of milter threads
- new option SENDMAIL_WITHOUT_MILTER_POOL to disable this
Diffstat (limited to 'mail/sendmail')
-rw-r--r-- | mail/sendmail/Makefile | 10 |
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 ) |