commit:     11ec011abe0ef7b2dbc9f0fe77a03abcc6e4664a
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 13 21:14:36 2025 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Fri Jan 17 18:40:41 2025 +0000
URL:        https://gitweb.gentoo.org/proj/pms.git/commit/?id=11ec011a

EAPI 9: Special profile variables are no longer exported

Bug: https://bugs.gentoo.org/948001
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 ebuild-env-vars.tex   | 10 ++++++++--
 profile-variables.tex |  2 ++
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/ebuild-env-vars.tex b/ebuild-env-vars.tex
index 4f19d70..1e2623b 100644
--- a/ebuild-env-vars.tex
+++ b/ebuild-env-vars.tex
@@ -354,8 +354,14 @@ commands (see section~\ref{sec:pkg-mgr-commands}) in an 
implementation-defined m
     \end{tabular}
 \end{centertable}
 
-Except where otherwise noted, all variables set in the active profiles' 
\t{make.defaults} files must
-be exported to the ebuild environment. \t{CHOST}, \t{CBUILD} and \t{CTARGET}, 
if not set by
+Variables listed in section~\ref{sec:specific-profile-vars} as having specific 
meanings or special
+handling, and that are set in the active profiles' \t{make.defaults} files, 
are either exported
+to the environment or kept as unexported shell variables, as specified for 
EAPIs in
+table~\ref{tab:export-vars}. To clarify, this behaviour is governed by the 
EAPI of the ebuild,
+not that of the profile.
+
+Except where otherwise noted, all other variables set in the active profiles' 
\t{make.defaults}
+files must be exported to the environment. \t{CHOST}, \t{CBUILD} and 
\t{CTARGET}, if not set by
 profiles, must contain either an appropriate machine tuple (the definition of 
appropriate is beyond
 the scope of this specification) or be unset.
 

diff --git a/profile-variables.tex b/profile-variables.tex
index f20fde4..ddcbd3a 100644
--- a/profile-variables.tex
+++ b/profile-variables.tex
@@ -69,6 +69,8 @@ completely override those in parent profiles.
 \end{centertable}
 
 \subsection{Specific variables and their meanings}
+\label{sec:specific-profile-vars}
+
 The following variables have specific meanings when set in profiles.
 \begin{description}
 \item[ARCH] The system's architecture. Must be a value listed in 
\t{profiles/arch.list}; see

Reply via email to