summaryrefslogtreecommitdiffstats
path: root/etc/mail
diff options
context:
space:
mode:
authorgshapiro <gshapiro@FreeBSD.org>2001-07-23 01:33:54 +0000
committergshapiro <gshapiro@FreeBSD.org>2001-07-23 01:33:54 +0000
commitcef3dba0893fdee1777990d6d8095fb0dce67752 (patch)
treeba7b02a2f44491888ab338b6bd69a1471e4fc680 /etc/mail
parentdea0eea19efa30f9411602f8f9e742fd9ffad88f (diff)
downloadFreeBSD-src-cef3dba0893fdee1777990d6d8095fb0dce67752.zip
FreeBSD-src-cef3dba0893fdee1777990d6d8095fb0dce67752.tar.gz
New make knob, SENDMAIL_M4_FLAGS, modifies the flags passed to m4 when
building a .cf file from a .mc file. Include -D_FFR_TLS_O_T to enable tls policy control since the sendmail binary build enables that FFR as well. PR: conf/28361 MFC after: 1 week
Diffstat (limited to 'etc/mail')
-rw-r--r--etc/mail/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/etc/mail/Makefile b/etc/mail/Makefile
index f6e34b8..833b45f 100644
--- a/etc/mail/Makefile
+++ b/etc/mail/Makefile
@@ -39,6 +39,8 @@
# uucpdomain, virtusertable
#
+SENDMAIL_M4_FLAGS+= -D_FFR_TLS_O_T
+
.ifndef SENDMAIL_MC
SENDMAIL_MC!= hostname
SENDMAIL_MC:= ${SENDMAIL_MC}.mc
@@ -124,8 +126,8 @@ M4FILES!= find ${SENDMAIL_CF_DIR} -type f -name '*.m4' -print
.SUFFIXES: .cf .mc
.mc.cf: ${M4FILES}
- ${M4} -D_CF_DIR_=${SENDMAIL_CF_DIR}/ ${SENDMAIL_CF_DIR}/m4/cf.m4 \
- ${@:R}.mc > ${.TARGET}
+ ${M4} -D_CF_DIR_=${SENDMAIL_CF_DIR}/ ${SENDMAIL_M4_FLAGS} \
+ ${SENDMAIL_CF_DIR}/m4/cf.m4 ${@:R}.mc > ${.TARGET}
#
# Aliases are handled separately since they normally reside in /etc
OpenPOWER on IntegriCloud