Gentoo Archives: gentoo-pms

From: Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>
To: gentoo-pms@l.g.o
Cc: Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>
Subject: [gentoo-pms] [PATCH] IUSE_{REFERENCEABLE,EFFECTIVE} undefined for metadata genaration
Date: Mon, 06 Jul 2009 19:55:45
Message-Id: 1246910134-22746-1-git-send-email-ciaran.mccreesh@googlemail.com
In effect, this means it's illegal to call use in global scope for EAPI
3, and undefined otherwise.
---
 ebuild-env-vars.tex |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/ebuild-env-vars.tex b/ebuild-env-vars.tex
index a1713d2..e093218 100644
--- a/ebuild-env-vars.tex
+++ b/ebuild-env-vars.tex
@@ -245,6 +245,9 @@ This section discusses the handling of four variables:
 \item[USE] is a variable calculated by the package manager and exported to the ebuild environment.
 \end{description}
 
+In all cases, the values of \t{IUSE\_REFERENCEABLE} and \t{IUSE\_EFFECTIVE} are undefined during
+metadata generation.
+
 For EAPIs listed in table~\ref{tab:profile-iuse-injection-table} as not supporting profile defined
 \t{IUSE} injection, \t{IUSE\_REFERENCEABLE} is equal to the calculated \t{IUSE} value. For EAPIs
 where profile defined \t{IUSE} injection is supported, \t{IUSE\_REFERENCEABLE} is equal to
-- 
1.6.2