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 06e1473ca..83584a9cf 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -746,7 +746,10 @@ class depgraph:
vardbapi.cpv_exists(mykey):
old_use = vardbapi.aux_get(mykey, ["USE"])[0].split()
iuses = set(mydbapi.aux_get(mykey, ["IUSE"])[0].split())
- if iuses.intersection(old_use) != \
+ if iuses.difference(
+ vardbapi.aux_get(mykey, ["IUSE"])[0].split()):
+ merging = 1
+ elif iuses.intersection(old_use) != \
iuses.intersection(myuse):
merging=1