diff options
author | 2020-11-07 15:25:16 +0100 | |
---|---|---|
committer | 2020-11-07 15:25:16 +0100 | |
commit | 0755fcf420d120b978cf6cf9364a26c6c0e67c0b (patch) | |
tree | bc70c012195e0e7d7453002b900b06074d534c0e | |
parent | Mark package.use flags as local rather than global. (diff) | |
download | ufed-0755fcf420d120b978cf6cf9364a26c6c0e67c0b.tar.gz ufed-0755fcf420d120b978cf6cf9364a26c6c0e67c0b.tar.bz2 ufed-0755fcf420d120b978cf6cf9364a26c6c0e67c0b.zip |
Signed-off-by: Sven Eden <sven.eden@prydeworx.com>
-rw-r--r-- | Portage.pm | 15 |
1 files changed, 1 insertions, 14 deletions
@@ -431,22 +431,9 @@ sub _determine_profiles # No parameters accepted sub _final_cleaning { - # The "disable all" flag is truncated to '*' by the parsing, but - # it has to read '-*'. - _add_temp("-*", "global"); - - $_use_temp->{'-*'}{global}{descr} = "{Never enable any flags other than those specified in make.conf}"; - $_use_temp->{'-*'}{global}{conf} = 0; ## Can never be -1 - - # Set it from the truncated config: - if (defined($_use_temp->{'*'}{global})) { - $_use_temp->{'*'}{global}{conf} > -1 - and $_use_temp->{'-*'}{global}{conf} = 1; - } - # The following use flags are dangerous or internal only # and must no be available using ufed: - defined($_use_temp->{"*"}) and delete($_use_temp->{"*"}); + defined($_use_temp->{"*"}) and delete($_use_temp->{"*"}); ## USE="-*" defined($_use_temp->{"bootstrap"}) and delete($_use_temp->{"bootstrap"}); defined($_use_temp->{"build"}) and delete($_use_temp->{"build"}); defined($_use_temp->{"livecd"}) and delete($_use_temp->{"livecd"}); |