From 5e9afb6d818201028acbe922c6d86e9bf27dd860 Mon Sep 17 00:00:00 2001 From: Ulrich Müller Date: Sat, 14 Jan 2023 10:28:01 +0100 Subject: Distinguish between "phase" and "phase function" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ulrich Müller --- ebuild-functions.tex | 6 +++--- eclasses.tex | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ebuild-functions.tex b/ebuild-functions.tex index 7d372fa..25164d4 100644 --- a/ebuild-functions.tex +++ b/ebuild-functions.tex @@ -477,9 +477,9 @@ source files from their respective locations, with notes concerning licensing if \featurelabel{default-phase-funcs} In EAPIs listed in table~\ref{tab:default-phase-function-table} as supporting \t{default_} phase functions, a function -named \t{default_}(phase) that behaves as the default implementation for that EAPI shall be defined -when executing any ebuild phase listed in the table. Ebuilds must not call these functions except -when in the phase in question. +named \t{default_}) that behaves as the default implementation for that EAPI shall +be defined when executing any ebuild phase function listed in the table. Ebuilds must not call +these functions except when in the phase in question. \ChangeWhenAddingAnEAPI{8} \begin{centertable}{EAPIs supporting \t{default_} phase functions} diff --git a/eclasses.tex b/eclasses.tex index 0b9b5d4..a4400e1 100644 --- a/eclasses.tex +++ b/eclasses.tex @@ -87,7 +87,7 @@ should the author wish to override it he can access the function in \t{foo.eclas \t{foo_src_compile}. \t{EXPORT_FUNCTIONS} must only be used on ebuild phase functions. The function that is aliased -must be named \t{eclassname_phasefunctionname}, where \t{eclassname} is the name of the eclass. +must be named \t{_}, where \t{} is the name of the eclass. If \t{EXPORT_FUNCTIONS} is called multiple times for the same phase function, the last call takes precedence. Eclasses may not rely upon any particular behaviour if they inherit another eclass -- cgit v1.2.3-65-gdbad