diff options
author | Zac Medico <zmedico@gentoo.org> | 2006-07-24 15:25:37 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2006-07-24 15:25:37 +0000 |
commit | 62fed2da570bf8a72076d5062d688474ad31b2e8 (patch) | |
tree | 322e0a99a8c8df60d852613390767dde170d923f | |
parent | da18183aaced1a0d26794a93f2a2316f9b4de402 (diff) | |
download | portage-62fed2da570bf8a72076d5062d688474ad31b2e8.tar.gz portage-62fed2da570bf8a72076d5062d688474ad31b2e8.tar.bz2 portage-62fed2da570bf8a72076d5062d688474ad31b2e8.zip |
Trigger a rebuild with --newuse when IUSE has changed for bug #116955.
svn path=/main/trunk/; revision=4014
-rwxr-xr-x | bin/emerge | 5 |
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 |