aboutsummaryrefslogtreecommitdiff
path: root/etc/sendmail
diff options
context:
space:
mode:
authorGregory Neil Shapiro <gshapiro@FreeBSD.org>2001-07-23 01:33:54 +0000
committerGregory Neil Shapiro <gshapiro@FreeBSD.org>2001-07-23 01:33:54 +0000
commitf4843be9990e766d93d225e3ff2e96cc170af25d (patch)
treeba7b02a2f44491888ab338b6bd69a1471e4fc680 /etc/sendmail
parent79c96a6ccd32e74f5f95d1aff96155b68785d286 (diff)
downloadsrc-f4843be9990e766d93d225e3ff2e96cc170af25d.tar.gz
src-f4843be9990e766d93d225e3ff2e96cc170af25d.zip
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
Notes
Notes: svn path=/head/; revision=80175
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 822899e4a60d..28b5244b3aeb 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