From: Zac Medico Date: Mon, 30 Jul 2007 06:48:46 +0000 (-0000) Subject: For bug #185670, make sure package.use.{mask,force} are properly displayed. (branches... X-Git-Tag: v2.1.2.11~19 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f549de68439ce01b1d21916a5bc8c53697001067;p=portage.git For bug #185670, make sure package.use.{mask,force} are properly displayed. (branches/2.1.2 r7254, r7296, and r7499) svn path=/main/branches/2.1.2.9/; revision=7500 --- diff --git a/bin/emerge b/bin/emerge index 201c44db6..b338febca 100755 --- a/bin/emerge +++ b/bin/emerge @@ -2632,9 +2632,9 @@ class depgraph: mydbapi.aux_get(pkg_key, ["IUSE"])[0].split())) forced_flags = set() - if not binary_package: - forced_flags.update(pkgsettings.useforce) - forced_flags.update(pkgsettings.usemask) + pkgsettings.setcpv(pkg_key, mydb=mydbapi) # for package.use.{mask,force} + forced_flags.update(pkgsettings.useforce) + forced_flags.update(pkgsettings.usemask) cur_iuse = portage.unique_array(cur_iuse) cur_iuse.sort()