From owner-freebsd-current Fri Mar 29 17: 5:42 2002 Delivered-To: freebsd-current@freebsd.org Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by hub.freebsd.org (Postfix) with ESMTP id E383637B419; Fri, 29 Mar 2002 17:05:26 -0800 (PST) Received: from hades.hell.gr (patr530-a132.otenet.gr [212.205.215.132]) by mailsrv.otenet.gr (8.12.2/8.12.2) with ESMTP id g2U159QA014836; Sat, 30 Mar 2002 03:05:15 +0200 (EET) Received: from hades.hell.gr (hades [127.0.0.1]) by hades.hell.gr (8.12.2/8.12.2) with ESMTP id g2U155LM003210; Sat, 30 Mar 2002 03:05:05 +0200 (EET) (envelope-from keramida@freebsd.org) Received: (from charon@localhost) by hades.hell.gr (8.12.2/8.12.2/Submit) id g2U152Tj003206; Sat, 30 Mar 2002 03:05:02 +0200 (EET) (envelope-from keramida@freebsd.org) Date: Sat, 30 Mar 2002 03:04:56 +0200 (EET) From: Giorgos Keramidas X-X-Sender: charon@hades To: ian j hart Cc: Gregory Neil Shapiro , , Subject: Re: Another possible solution for non-sendmail users In-Reply-To: <3CA50E3F.43E719DF@ntlworld.com> Message-ID: <20020330030304.D3075-100000@hades> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 2002-03-30 01:00, ian j hart wrote: > Okay, I have this running in (4.5) stable. > > A few lines caused some problems. > > To get it working I did this > > --- /usr/src/etc/sendmail/rc.sendmail Fri Mar 29 19:50:55 2002 > +++ /etc/rc.sendmail Fri Mar 29 21:22:52 2002 > @@ -47,15 +47,15 @@ > fi > > # The sendmail binary > -sendmail_program?= /usr/sbin/sendmail > +sendmail_program=/usr/sbin/sendmail A better fix would be to use the sh(1) way of conditionally setting a variable: sendmail_program=${sendmail_program:-/usr/sbin/sendmail} Similarly for the rest of those ?= assignments. AFAIK, the ?= assignment style works in make rules. Perhaps that's where this came from :-) Giorgos Keramidas FreeBSD Documentation Project keramida@{freebsd.org,ceid.upatras.gr} http://www.FreeBSD.org/docproj/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message