On 05/03/2013 05:59 AM, René Neumann wrote:
> Am 24.04.2013 11:51, schrieb René Neumann:
>> As more and more packages seem to (mis)use USE_EXPAND: Can we get the
>> possibility to set this directly in package.use? Having to write
>> 'claws_mail_plugins_foo' does not help readability, and setting it in
>> make.conf is also not the right way (as is package.env).
> 
> I just noted, that USE_EXPAND variables are even worse than I thought...
> 
> NGINX_MODULES_HTTP="-access" emerge -av nginx
> Invalid '-' operator in non-incremental variable 'NGINX_MODULES_HTTP':
> '-access
> 
> In other words: They do not even work from commandline (in a stacking
> manner).

The long-standing portage behavior is for a make.conf setting like
VIDEO_CARDS="foo" is to discard any VIDEO_CARDS settings from the
profile, which is a non-incremental behavior. If we make all USE_EXPAND
variables behave more like real incremental variables, then users will
have to use VIDEO_CARDS="-* foo" to get the equivalent of the old
behavior. Is it worth changing?

Note that PMS says USE_EXPAND variables are supposed to be treated as
incremental. Also note that portage implements pseudo-increment behavior
for settings of USE_EXPAND variables in profile make.defaults, but it
only works for positive values (which are stacked incrementally only
after they have been translated to the corresponding USE flags).
-- 
Thanks,
Zac

Reply via email to