Summary: | sys-apps/portage-2.1.4_rc14: IUSE defaults should override default use flag settings in profiles | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | William Hubbs <williamh> |
Component: | New packages | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED WONTFIX | ||
Severity: | enhancement | CC: | jakub |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
William Hubbs
2008-01-03 14:57:24 UTC
(In reply to comment #0) > I have EAPI=1 and IUSE="-python" in the ebuild so that the bindings are not > installed unless the user requests them. However, the use_order setting in > make.globals does not allow this to work. My make.globals contains: > > USE_ORDER="env:pkg:conf:defaults:pkginternal:env.d" > > Shouldn't defaults and pkginternal be swapped so that IUSE defaults will > override profile settings? Swapping them will take some influence away from the profiles and give it to the ebuilds. For example, it will no longer be possible for the profile to enable python globally and be sure that it applies to all ebuilds. No, defintely not. And while we are at it: I'd like to disallow pkginternal for global use flags in general. Gentoo is loosing consistency at all end, when we allow all and everything per ebuild. Well, this is a horrible suggestion, sorry, +1 on Comment #2. If the user wants to disable something, they are free to do so, or they are free to switch USE_ORDER on their own. Otherwise the profile defaults should be honored unless you are willing to migrate the *entire* tree from the profile defaults to pkginternal. Ok, I agree with comment #1. I don't understand why we would need to disallow pkginternal as suggested in comment #2 though based on whether a use flag is local or global since the current stacking order does not allow pkginternal to override use flags that are set in the profiles or by the user. IUSE defaults were created (and widely accepted) for good reason their design was so that profiles trumped ebuilds |