public inbox for gentoo-pms@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-pms] [PATCH] EAPI 9: Special profile variables are no longer exported
@ 2025-01-14 11:01 Ulrich Müller
  0 siblings, 0 replies; only message in thread
From: Ulrich Müller @ 2025-01-14 11:01 UTC (permalink / raw
  To: gentoo-pms; +Cc: mgorny, Ulrich Müller

Bug: https://bugs.gentoo.org/948001
Signed-off-by: Ulrich Müller <ulm@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..47108a0 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 profile's \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 profile's \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 ccb85eb..c7e054d 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
-- 
2.48.0



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2025-01-14 11:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-14 11:01 [gentoo-pms] [PATCH] EAPI 9: Special profile variables are no longer exported Ulrich Müller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox