summaryrefslogtreecommitdiff
path: root/mail/sendmail
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2008-03-23 09:17:38 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2008-03-23 09:17:38 +0000
commit435604a11e3be7671b521032396351d69d2902cf (patch)
tree2e0bd1422c3eac004556a9a2e899b133c63b3b21 /mail/sendmail
parent- USE_LDCONFIG (diff)
- new option SENDMAIL_WITHOUT_LA to turn off Load Averaging
PR: 121843 Submitted by: Michael Stowe Reviewed by: Approved by: Obtained from: MFC after:
Notes
Notes: svn path=/head/; revision=209611
Diffstat (limited to 'mail/sendmail')
-rw-r--r--mail/sendmail/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/mail/sendmail/Makefile b/mail/sendmail/Makefile
index dd7bf0de68a8..3b5339340a1c 100644
--- a/mail/sendmail/Makefile
+++ b/mail/sendmail/Makefile
@@ -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 )