From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1GA0Hg-00086j-CK for garchives@archives.gentoo.org; Mon, 07 Aug 2006 08:16:24 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k778F0kq003994; Mon, 7 Aug 2006 08:15:00 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k778Bm8W018206 for ; Mon, 7 Aug 2006 08:11:49 GMT Received: from gentoo.org (cp848508-a.mill1.nb.home.nl [84.29.235.69]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 0E8EF64740 for ; Mon, 7 Aug 2006 08:11:47 +0000 (UTC) Date: Mon, 7 Aug 2006 10:14:45 +0200 From: Harald van =?utf-8?Q?D=C4=B3k?= To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Setting USE_EXPAND defaults in profiles (in some cases) Message-ID: <20060807081445.GA8847@gentoo.org> References: <44D2BEA9.2020607@gentoo.org> <44D661A9.9010104@gentoo.org> <44D6F348.4050200@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <44D6F348.4050200@gentoo.org> User-Agent: Mutt/1.5.12-2006-07-14 X-Archives-Salt: 12a59ae4-6efc-4682-92a2-e4e94813d2db X-Archives-Hash: 9958e73e2c6b7295694d3af6b573b739 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