diff options
-rw-r--r-- | pym/_emerge/depgraph.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py index fcdcc6c4e..084864076 100644 --- a/pym/_emerge/depgraph.py +++ b/pym/_emerge/depgraph.py @@ -3270,7 +3270,8 @@ class depgraph(object): all_cp = set() all_cp.update(vardb.cp_all()) - all_cp.update(portdb.cp_all()) + if "--usepkgonly" not in self._frozen_config.myopts: + all_cp.update(portdb.cp_all()) if "--usepkg" in self._frozen_config.myopts: all_cp.update(bindb.cp_all()) # discard dir containing no ebuilds |