On Monday, August 23, 2010 11:42:49 Michał Górny wrote: > On Sun, 22 Aug 2010 17:06:22 -0400 Mike Frysinger wrote: > > > local varname=${2:-${flag}} > > > > should be stripping possible leading ! so that people can do > > `use_scons !foo moo` just like they can today with `use_with $foo moo` > > Could you explain that better? Calling 'use_scons !foo moo' would cause > varname to contain 'moo' anyway.
yeah, in that case it wouldnt matter > If you meant calling just 'use_scons !foo' instead, I can do that but > not sure if it'd be really useful. I guess packages don't tend to use > some kind reverse logic for booleans, and would rather have > the particular var prefixed by 'NO' or something like that then. whether the upstream logic should be fixed is something to address there. the extended `use_xxx` interfaces should support all the underlying features of `use` and work just as well as the existing ones. -mike
signature.asc
Description: This is a digitally signed message part.