From d0237500098f6048203272754a0f4f5cd750d77b Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 9 Oct 2007 15:38:53 +0000 Subject: [PATCH] When an ebuild has conditionals in it's LICENSE, calculate USE before the visibility check. svn path=/main/trunk/; revision=8014 --- pym/emerge/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pym/emerge/__init__.py b/pym/emerge/__init__.py index 18bc8f443..11e5c954d 100644 --- a/pym/emerge/__init__.py +++ b/pym/emerge/__init__.py @@ -2005,6 +2005,9 @@ class depgraph(object): except KeyError: # masked by corruption continue + if "?" in metadata["LICENSE"]: + pkgsettings.setcpv(cpv, mydb=metadata) + metadata["USE"] = pkgsettings["USE"] try: if not visible(pkgsettings, cpv, metadata, built=False, installed=False): -- 2.26.2