summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Stubbs <jstubbs@gentoo.org>2005-12-21 15:12:17 +0000
committerJason Stubbs <jstubbs@gentoo.org>2005-12-21 15:12:17 +0000
commit67b959787c8ae898babb4f115957d05850de7cef (patch)
treeb8f148d2e05c931cae3bf30c1be6ed0607c922e5
parente0bc4ab7fee256bb6e772546359554e5de0ee986 (diff)
downloadportage-67b959787c8ae898babb4f115957d05850de7cef.tar.gz
portage-67b959787c8ae898babb4f115957d05850de7cef.tar.bz2
portage-67b959787c8ae898babb4f115957d05850de7cef.zip
USE flags in the to-be-installed package's IUSE but not in currently installed
package's IUSE and not enabled were not being shown. USE_EXPAND variable names were being shown in lower case rather than upper case. svn path=/main/trunk/; revision=2422
-rwxr-xr-xbin/emerge4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/emerge b/bin/emerge
index 754ac9ad3..752d0e00a 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -1510,7 +1510,7 @@ class depgraph:
enabled.append(red(flag))
elif flag not in cur_use and flag in old_use:
disabled.append(green("-"+flag)+"*")
- elif is_new:
+ elif is_new or flag not in old_iuse:
disabled.append(blue("-"+flag))
enabled = " ".join(enabled)
disabled = " ".join(disabled)
@@ -1674,7 +1674,7 @@ class depgraph:
use_expand.insert(0, "USE")
for key in use_expand:
- verboseadd += create_use_string(key, cur_iuse_map[key], cur_use_map[key],
+ verboseadd += create_use_string(key.upper(), cur_iuse_map[key], cur_use_map[key],
old_iuse_map[key], cur_use_map[key], is_new)
if "--verbose" in myopts: