summaryrefslogtreecommitdiffstats
path: root/etc/sendmail
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/sendmail
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/sendmail')
-rw-r--r--etc/sendmail/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/etc/sendmail/Makefile b/etc/sendmail/Makefile
index 822899e..28b5244 100644
--- a/etc/sendmail/Makefile
+++ b/etc/sendmail/Makefile
@@ -10,6 +10,8 @@ SENDMAIL_DIR= ${.CURDIR}/../../contrib/sendmail
SMDIR= ${SENDMAIL_DIR}/src
CFDIR= ${SENDMAIL_DIR}/cf
+SENDMAIL_M4_FLAGS+= -D_FFR_TLS_O_T
+
# this is overkill, but....
M4FILES!= find ${CFDIR} -type f -name '*.m4' -print
@@ -18,7 +20,8 @@ M4FILES!= find ${CFDIR} -type f -name '*.m4' -print
.mc.cf: ${M4FILES}
${RM} ${.TARGET}
(cd ${.CURDIR} && \
- ${M4} -D_CF_DIR_=${CFDIR}/ ${CFDIR}/m4/cf.m4 ${@:R}.mc) > ${.TARGET}
+ ${M4} -D_CF_DIR_=${CFDIR}/ ${SENDMAIL_M4_FLAGS} \
+ ${CFDIR}/m4/cf.m4 ${@:R}.mc) > ${.TARGET}
${CHMOD} ${ROMODE} ${.TARGET}
ALL= freebsd.cf
OpenPOWER on IntegriCloud