aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorGregory Neil Shapiro <gshapiro@FreeBSD.org>2003-09-24 04:19:26 +0000
committerGregory Neil Shapiro <gshapiro@FreeBSD.org>2003-09-24 04:19:26 +0000
commit77e399e8bebe4e4b10020d4e8a3a449ed954e077 (patch)
tree1646e54fd19235e5d25d21f73461061a69b3d70f /share
parent4e7b8fcec4b0a5ab27700216f4e2cce20c61dd5d (diff)
downloadsrc-77e399e8bebe4e4b10020d4e8a3a449ed954e077.tar.gz
src-77e399e8bebe4e4b10020d4e8a3a449ed954e077.zip
Turn SENDMAIL_CF_DIR into an officially supported make.conf variable
and use it in src/etc/sendmail/Makefile in case the user wants to use a different path to the sendmail m4 sources (e.g., sendmail port users). Submitted by: dinoex MFC after: 21 days X-MFC after: RELENG_4 code freeze ends
Notes
Notes: svn path=/head/; revision=120397
Diffstat (limited to 'share')
-rw-r--r--share/examples/etc/make.conf5
-rw-r--r--share/man/man5/make.conf.57
2 files changed, 12 insertions, 0 deletions
diff --git a/share/examples/etc/make.conf b/share/examples/etc/make.conf
index f4805edbfedc..dab751dd82b5 100644
--- a/share/examples/etc/make.conf
+++ b/share/examples/etc/make.conf
@@ -263,6 +263,11 @@
#
#SENDMAIL_ADDITIONAL_MC=/etc/mail/foo.mc /etc/mail/bar.mc
#
+# The following overrides the default location for the m4 configuration
+# files used to build a .cf file from a .mc file.
+#
+#SENDMAIL_CF_DIR=/usr/local/share/sendmail/cf
+#
# Setting the following variable modifies the flags passed to m4 when
# building a .cf file from a .mc file. It can be used to enable
# features disabled by default.
diff --git a/share/man/man5/make.conf.5 b/share/man/man5/make.conf.5
index 18f3e47053d7..5a4f45fcaf6b 100644
--- a/share/man/man5/make.conf.5
+++ b/share/man/man5/make.conf.5
@@ -635,6 +635,13 @@ The value should include the full path to the
file(s), e.g.,
.Pa /etc/mail/foo.mc
.Pa /etc/mail/bar.mc .
+.It Va SENDMAIL_CF_DIR
+.Pq Vt str
+Override the default location for the m4 configuration files used to build a
+.Pa .cf
+file from a
+.Pa .mc
+file.
.It Va SENDMAIL_M4_FLAGS
.Pq Vt str
Flags passed to m4 when building a