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 [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to