Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Mar 2002 03:04:56 +0200 (EET)
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        ian j hart <ianjhart@ntlworld.com>
Cc:        Gregory Neil Shapiro <gshapiro@freebsd.org>, <freebsd-current@freebsd.org>, <freebsd-stable@freebsd.org>
Subject:   Re: Another possible solution for non-sendmail users
Message-ID:  <20020330030304.D3075-100000@hades>
In-Reply-To: <3CA50E3F.43E719DF@ntlworld.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020330030304.D3075-100000>