Date: Fri, 25 Oct 2002 19:30:02 -0700 (PDT) From: "Matthew Emmerton" <matt@gsicomp.on.ca> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/44256: /etc/mail/Makefile doesn't build submit.cf file Message-ID: <200210260230.g9Q2U22e034442@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/44256; it has been noted by GNATS.
From: "Matthew Emmerton" <matt@gsicomp.on.ca>
To: "Giorgos Keramidas" <keramida@freebsd.org>
Cc: <bug-followup@freebsd.org>
Subject: Re: bin/44256: /etc/mail/Makefile doesn't build submit.cf file
Date: Fri, 25 Oct 2002 22:28:41 -0400
> On 2002-10-23 16:30, Matthew Emmerton wrote:
> > My report is slightly inaccurate, as the makefile *will* create a
> > submit.cf, but it doesn't create it in the `hostname`.submit.cf
> > format that sendmail.cf is created in, and will not use a
> > `hostname`.submit.mc as a template if it exists.
>
> It does. At least, after setting the proper make.conf variables:
> SENDMAIL_MC
> SENDMAIL_SUBMIT_MC
> SENDMAIL_ADDITIONAL_MC
>
> A small change to /etc/mail/Makefile can make SENDMAIL_SUBMIT_MC
> default to `hostname`.submit.mc too, if that's what you are after:
>
> %%%
> --- Makefile.orig Fri Oct 25 04:49:43 2002
> +++ Makefile Fri Oct 25 04:51:27 2002
> @@ -69,7 +69,13 @@
> cp freebsd.mc ${SENDMAIL_MC}
> .endif
>
> -SENDMAIL_SUBMIT_MC?= freebsd.submit.mc
> +.ifndef SENDMAIL_SUBMIT_MC
> +SENDMAIL_SUBMIT_MC!= hostname
> +SENDMAIL_SUBMIT_MC:= ${SENDMAIL_SUBMIT_MC}.submit.mc
> +
> +${SENDMAIL_SUBMIT_MC}:
> + cp freebsd.submit.mc ${SENDMAIL_SUBMIT_MC}
> +.endif
>
> INSTALL_CF= ${SENDMAIL_MC:R}.cf
>
> %%%
>
> Giorgos.
How is this patch different from the one in my PR?
--
Matt Emmerton
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210260230.g9Q2U22e034442>
