summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/emerge/__init__.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/pym/emerge/__init__.py b/pym/emerge/__init__.py
index 1fda5ac0b..991fa9992 100644
--- a/pym/emerge/__init__.py
+++ b/pym/emerge/__init__.py
@@ -1220,6 +1220,10 @@ class depgraph(object):
if "empty" not in self.myparams and vardbapi.cpv_exists(mykey):
merging=0
+ merge_node = (mytype, myroot, mykey, "merge")
+ if self.digraph.contains(merge_node):
+ merging = 1
+
""" If we aren't merging, perform the --newuse check.
If the package has new iuse flags or different use flags then if
--newuse is specified, we need to merge the package. """