- new option SENDMAIL_WITHOUT_LA to turn off Load Averaging
PR: 121843 Submitted by: Michael Stowe Reviewed by: Approved by: Obtained from: MFC after:
This commit is contained in:
parent
6c85ea7b22
commit
435604a11e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=209611
1 changed files with 6 additions and 0 deletions
|
@ -49,6 +49,7 @@ MILTER_SOVER?= 4
|
|||
# SENDMAIL_WITHOUT_NIS=yes
|
||||
# SENDMAIL_WITHOUT_SHMEM=yes
|
||||
# SENDMAIL_WITHOUT_SEM=yes
|
||||
# SENDMAIL_WITHOUT_LA=yes
|
||||
# SENDMAIL_WITH_TLS=yes
|
||||
# SENDMAIL_WITH_SMTPS=yes
|
||||
# SENDMAIL_WITH_SASL=yes
|
||||
|
@ -236,6 +237,11 @@ do-configure:
|
|||
'APPENDDEF(`confENVDEF'\'', `-DSM_CONF_SEM=0'\'')' \
|
||||
>> ${WCONF}/site.config.m4
|
||||
.endif
|
||||
.if defined(SENDMAIL_WITHOUT_LA)
|
||||
${ECHO_CMD} \
|
||||
'APPENDDEF(`confENVDEF'\'', `-DLA_TYPE=LA_ZERO'\'')' \
|
||||
>> ${WCONF}/site.config.m4
|
||||
.endif
|
||||
|
||||
post-build:
|
||||
( cd ${WRKSRC}/doc/op && ${MAKE} op.txt )
|
||||
|
|
Loading…
Reference in a new issue