[CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program

Joerg Sonnenberger joerg at britannica.bec.de
Fri Oct 26 21:17:59 UTC 2012


On Fri, Oct 26, 2012 at 09:00:26PM +0100, Chris Rees wrote:
> :U -- with bmake has non-optional arguments, so for example:
> 
> ${VAR:U} - pmake behaviour
> 
> ${VAR:Uval} - make behaviour.
> 
> Would that be acceptable?  I can get a patch in if that's popular.

${VAR:U} is useful for bmake as well. For example, .if conditionals can
avoid explicit checks for defined and/or quoting that way.

Joerg


More information about the freebsd-hackers mailing list