summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-10-09 15:38:53 +0000
committerZac Medico <zmedico@gentoo.org>2007-10-09 15:38:53 +0000
commitd0237500098f6048203272754a0f4f5cd750d77b (patch)
treec6e1bc893581f7081acfec98926484e0b5edf3d0
parente2fa19d6c7c0ce338199a2ea535cc55c1a48a313 (diff)
downloadportage-d0237500098f6048203272754a0f4f5cd750d77b.tar.gz
portage-d0237500098f6048203272754a0f4f5cd750d77b.tar.bz2
portage-d0237500098f6048203272754a0f4f5cd750d77b.zip
When an ebuild has conditionals in it's LICENSE, calculate
USE before the visibility check. svn path=/main/trunk/; revision=8014
-rw-r--r--pym/emerge/__init__.py3
1 files changed, 3 insertions, 0 deletions
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):