From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.105.134.102] (helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1DiV0G-0006wP-Fx for garchives@archives.gentoo.org; Wed, 15 Jun 2005 10:20:12 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j5FAIGop022576; Wed, 15 Jun 2005 10:18:16 GMT Received: from corwin.easynet.fr (smarthost160.mail.easynet.fr [212.180.1.160]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j5FAGEQJ019361 for ; Wed, 15 Jun 2005 10:16:14 GMT Received: from easyconnect2121138-64.clients.easynet.fr ([212.11.38.64] helo=eusebe) by corwin.easynet.fr with esmtp (Exim 4.34) id 1DiUxC-0006GB-4J for gentoo-dev@lists.gentoo.org; Wed, 15 Jun 2005 12:17:02 +0200 Date: Wed, 15 Jun 2005 12:16:18 +0200 From: Thomas de Grenier de Latour To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] use.force support Message-ID: <20050615121618.6339d835@eusebe> In-Reply-To: <20050613144048.GB4585@lightning.stealer.net> References: <20050613144048.GB4585@lightning.stealer.net> Organization: Fasmz X-Mailer: Sylpheed-Claws 1.9.9cvs2 (GTK+ 2.6.7; i686-pc-linux-gnu) 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-Transfer-Encoding: 7bit X-Archives-Salt: 6a62a9bf-1534-43d2-a83c-35bdeeca18a6 X-Archives-Hash: bfe9e6b0d9e8a23bc3166c2d9d9ca314 On Mon, 13 Jun 2005 16:40:48 +0200 Sven Wegener wrote: > We just had a short discussion over in #gentoo-portage and the > idea of an use.force file for profiles came up. It allows us to > force some USE flags to be turned on for a profile. It's not > possible to disable this flag by make.conf, the environment or > package.use. But we would not be Gentoo, if we don't leave a > backdoor. You can disable the flag by putting -flag in /etc/ > portage/profile/use.force if you really need to. Same goes for > sub-profiles that need to disable this flag. Why a file rather than a make.default variable? I'm thinking of something like REQUIRED_USE, which would behave just like USE and friends (the so called "incremental" vars in portage). Its contents could simply be added to USE after all other steps of there respective "incrementation" (profiles, make.conf, user env, etc.). And sure there would also be a REQUIRED_USE_EXPAND var, similar in purpose to the existing USE_EXPAND but targeting REQUIRED_USE, where important things like USERLAND or ELIBC could be moved. Well, i'm not saying that vars are better than files though, the same can be achieved both ways, so it's just another option to consider. (and feel free to replace, in the above, "REQUIRED" by "FORCE", "IMPORTANT", or any other kind of "DO_NOT_TOUCH"-like prefix) -- TGL. -- gentoo-dev@gentoo.org mailing list