On Mon, Aug 07, 2006 at 10:01:12AM +0200, Jakub Moc wrote: > Zac Medico wrote: > > Donnie Berkholz wrote: > >>> agaffney suggested this in the first place, and every time I think about > >>> it, it seems like a better idea. If we set VIDEO_CARDS and INPUT_DEVICES > >>> in the arch profiles, we get the arch-specific defaults we need without > >>> the really hugely ugly indecipherable mess in the ebuilds that nobody > >>> can understand besides Josh_B and me. The very strange corner case this > >>> doesn't work with is if people manually set VIDEO_CARDS="", then they > >>> will no longer get the behavior of pulling in everything. But the > >>> default case will still work great. > > > > As of portage-2.1.1_pre4-r4, VIDEO_CARDS="" should now continue to work > > like > > before no matter how you've enabled the flags in the profile. > > > As part of the fix for bug 142125, portage automatically regenerates all of > > the USE_EXPAND variables to be consistent with the corresponding USE > flags. > > > > Zac > > Well, please don't change the behaviour in every other release, it's > very confusing and people file bugs about it. And -r4 behaviour is > incorrect, as it ignores defaults in profiles when you set anything in > make.conf. -r3 got it correctly so that foo in profiles could be > overriden with -foo in make.conf, this doesn't work any more in -r4.
That was a bug, not a feature. Older portage versions behave as -r4 does, and -r3's behaviour forces users to set invalid values in certain cases. -- gentoo-dev@gentoo.org mailing list