diff options
| author | Gregory Neil Shapiro <gshapiro@FreeBSD.org> | 2001-02-22 19:44:16 +0000 |
|---|---|---|
| committer | Gregory Neil Shapiro <gshapiro@FreeBSD.org> | 2001-02-22 19:44:16 +0000 |
| commit | e6c77250ef764b3e8c70f593671cd237d6061c3b (patch) | |
| tree | d7e3b9001df9ef9322e4ae0871db5c83311317e1 | |
| parent | feb43c5f37d221250d4a5d8a407b1e56a455a50b (diff) | |
Notes
| -rw-r--r-- | etc/defaults/make.conf | 5 | ||||
| -rw-r--r-- | etc/sendmail/Makefile | 5 | ||||
| -rw-r--r-- | share/examples/etc/make.conf | 5 | ||||
| -rw-r--r-- | share/man/man5/make.conf.5 | 6 |
4 files changed, 21 insertions, 0 deletions
diff --git a/etc/defaults/make.conf b/etc/defaults/make.conf index 784f3946e906..a26b0ca73c66 100644 --- a/etc/defaults/make.conf +++ b/etc/defaults/make.conf @@ -334,6 +334,11 @@ BDECFLAGS= -W -Wall -ansi -pedantic -Wbad-function-cast -Wcast-align \ # #SENDMAIL_MC=/etc/sendmail/freebsd.mc # +# If you need to build additional .cf files during a make buildworld, +# include the full paths to the .mc files in SENDMAIL_ADDITIONAL_MC. +# +#SENDMAIL_ADDITIONAL_MC=/etc/mail/foo.mc /etc/mail/bar.mc +# # Setting the following variables modifes the build environment for # sendmail and its related utilities. For example, SASL support can be # added with settings such as: diff --git a/etc/sendmail/Makefile b/etc/sendmail/Makefile index 7a8957e73b4b..63f49fab7e90 100644 --- a/etc/sendmail/Makefile +++ b/etc/sendmail/Makefile @@ -33,6 +33,11 @@ INSTALL_CF= ${SENDMAIL_CF} ALL+= ${INSTALL_CF} .endif +# Additional .cf files to build +.if defined(SENDMAIL_ADDITIONAL_MC) +ALL+= ${SENDMAIL_ADDITIONAL_MC:S/.mc$/.cf/g} +.endif + CLEANFILES+=$(ALL) all: $(ALL) diff --git a/share/examples/etc/make.conf b/share/examples/etc/make.conf index 784f3946e906..a26b0ca73c66 100644 --- a/share/examples/etc/make.conf +++ b/share/examples/etc/make.conf @@ -334,6 +334,11 @@ BDECFLAGS= -W -Wall -ansi -pedantic -Wbad-function-cast -Wcast-align \ # #SENDMAIL_MC=/etc/sendmail/freebsd.mc # +# If you need to build additional .cf files during a make buildworld, +# include the full paths to the .mc files in SENDMAIL_ADDITIONAL_MC. +# +#SENDMAIL_ADDITIONAL_MC=/etc/mail/foo.mc /etc/mail/bar.mc +# # Setting the following variables modifes the build environment for # sendmail and its related utilities. For example, SASL support can be # added with settings such as: diff --git a/share/man/man5/make.conf.5 b/share/man/man5/make.conf.5 index b8583545c0c5..dfe45fcdfb2d 100644 --- a/share/man/man5/make.conf.5 +++ b/share/man/man5/make.conf.5 @@ -478,6 +478,12 @@ Use with caution as a make install will overwrite any existing Note that .Va SENDMAIL_CF is now deprecated. +.It Va SENDMAIL_ADDITIONAL_MC +.Vt ( str ) +Additional .mc files which should be built into .cf files at build time. +The value should include the full path to the .mc file(s), e.g., +.Pa /etc/mail/foo.mc +.Pa /etc/mail/bar.mc . .It Va SENDMAIL_CFLAGS .Vt ( str ) Flags to pass to the compile command when building |
