diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-02-01 07:30:25 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-02-01 07:30:25 +0000 |
commit | 81b28730a42c04109903c563ad33bbf2411cc8fe (patch) | |
tree | 4a1d2495f9f08f08a20a651d06facb1cb4a9bfa3 /bin | |
parent | 0c8831a6b66ee55f31c4690d669e1a1c6f74458f (diff) | |
download | portage-81b28730a42c04109903c563ad33bbf2411cc8fe.tar.gz portage-81b28730a42c04109903c563ad33bbf2411cc8fe.tar.bz2 portage-81b28730a42c04109903c563ad33bbf2411cc8fe.zip |
Fix --newuse so that it works correctly with --usepkg. (trunk r5859)
svn path=/main/branches/2.1.2/; revision=5860
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/emerge | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/emerge b/bin/emerge index 620fda434..8688cbfb0 100755 --- a/bin/emerge +++ b/bin/emerge @@ -1129,9 +1129,8 @@ class depgraph: If the package has new iuse flags or different use flags then if --newuse is specified, we need to merge the package. """ if merging==0 and "--newuse" in self.myopts and \ - mytype == "ebuild" and \ vardbapi.cpv_exists(mykey): - pkgsettings.setcpv(mykey, mydb=portdb) + pkgsettings.setcpv(mykey, mydb=mydbapi) forced_flags = set() forced_flags.update(pkgsettings.useforce) forced_flags.update(pkgsettings.usemask) |