Prevent the --newuse check in depgraph.create() that is intended for the ebuild type...
authorZac Medico <zmedico@gentoo.org>
Mon, 6 Nov 2006 05:59:26 +0000 (05:59 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 6 Nov 2006 05:59:26 +0000 (05:59 -0000)
svn path=/main/trunk/; revision=4947

bin/emerge

index 932ad65b1ee0805b039c7c7d0280acba9564f21e..80c0514d379087d6e4970b9deefb7ceec4f415aa 100755 (executable)
@@ -841,6 +841,7 @@ class depgraph:
                            If the package has new iuse flags or different use flags then if
                            --newuse is specified, we need to merge the package. """
                        if merging==0 and "--newuse" in self.myopts and \
+                               mytype == "ebuild" and \
                                vardbapi.cpv_exists(mykey):
                                pkgsettings.setcpv(mykey, mydb=portdb)
                                forced_flags = set()