Subject: Re: make: make :P work as intended.
To: None <tech-toolchain@NetBSD.org>
From: Alan Barrett <apb@cequrux.com>
List: tech-toolchain
Date: 03/18/2006 11:32:18
On Fri, 17 Mar 2006, Simon J. Gerraty wrote:
> The patch below fixes that.  Now :P works as expected.

I haven't tested that part, but it seems reasonable.

> Also, documented a nasty quirk of :=
> [...]
>  Normally, expansion is not done until the variable is referenced.
> +.Em NOTE :
> +References to undefined variables are
> +.Em not
> +expanded.  This can cause problems when variable modifiers are used.

Is that really desired behaviour that should be documented?  It looks to
me like a bug that should be fixed.

--apb (Alan Barrett)