summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/emerge3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/emerge b/bin/emerge
index 059140140..da873ed83 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -1130,9 +1130,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)