Need one additional make.conf knob, SENDMAIL_ADDITIONAL_MC to satisfy bug
report. It allows building multiple .cf files at build time. PR: bin/19897
This commit is contained in:
parent
feb43c5f37
commit
e6c77250ef
@ -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:
|
||||
|
@ -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)
|
||||
|
@ -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:
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user