Date: Fri, 25 Oct 2002 07:10:03 -0700 (PDT) From: Giorgos Keramidas <keramida@freebsd.org> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/44256: /etc/mail/Makefile doesn't build submit.cf file Message-ID: <200210251410.g9PEA3F8097000@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: Giorgos Keramidas <keramida@freebsd.org>
To: Matthew Emmerton <matt@gsicomp.on.ca>
Cc: bug-followup@freebsd.org
Subject: Re: bin/44256: /etc/mail/Makefile doesn't build submit.cf file
Date: Fri, 25 Oct 2002 04:53:34 +0300 (EEST)
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.
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?200210251410.g9PEA3F8097000>
