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

Chris Rees utisoft at gmail.com
Fri Oct 26 20:00:29 UTC 2012


On 26 Oct 2012 20:15, "Chris Rees" <utisoft at gmail.com> wrote:
>
>
> On 26 Oct 2012 19:12, "David O'Brien" <obrien at freebsd.org> wrote:
> >
> > On Fri, Oct 26, 2012 at 12:12:44AM +0200, Baptiste Daroussin wrote:
> > > Do be able to get the ports tree working with bmake asap, I also asked
> > > him to MFC it to 9.1, from latest reply he got positive answer from
re@
> > > about this, but was waiting for something I don't remember.
> >
> > :tu/:tl is in releng/9.1, so it will also be in 9.1-RELEASE.
>
> Then we only have two supported stable branches you propose to break...
>

OK, how about this:

:L -- seems that bmake's use for this is kinda pointless; returning the
name of the variable; we could swap that usage over directly.

: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.

Chris


More information about the freebsd-arch mailing list