The surrounding code is ignorant of USE flags, because it calls
use_reduce(matchall=True), therefore it makes sense for the
dependency.unknown code to ignore USE deps.

X-Gentoo-Bug: 545294
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=545294
---
 bin/repoman | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/bin/repoman b/bin/repoman
index 7101a00..64f1ec5 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -2049,9 +2049,10 @@ for x in effective_scanlist:
 
                                        # Skip dependency.unknown for blockers, 
so that we
                                        # don't encourage people to remove 
necessary blockers,
-                                       # as discussed in bug #382407.
+                                       # as discussed in bug 382407. We use 
atom.without_use
+                                       # due to bug 545294.
                                        if not is_blocker and \
-                                               not portdb.xmatch("match-all", 
atom) and \
+                                               not portdb.xmatch("match-all", 
atom.without_use) and \
                                                not 
atom.cp.startswith("virtual/"):
                                                unknown_pkgs.add((mytype, 
atom.unevaluated_atom))
 
-- 
2.3.1


Reply via email to