summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/emerge5
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/emerge b/bin/emerge
index 32bee88b8..a7b2b0a29 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -1269,7 +1269,10 @@ class depgraph:
mydb = None
if "--usepkgonly" not in self.myopts and myeb:
mydb = portdb
- pkgsettings.setcpv(myeb, mydb=mydb)
+ if myeb:
+ pkgsettings.setcpv(myeb, mydb=mydb)
+ else:
+ pkgsettings.setcpv(myeb_pkg, mydb=mydb)
now_use = pkgsettings["USE"].split()
forced_flags = set()
forced_flags.update(pkgsettings.useforce)