On Sun, 2025-11-09 at 14:32 +0000, Zurab Kvachadze wrote: > On November 9, 2025 3:48:48 AM UTC, "Michał Górny" <[email protected]> wrote: > > Permit "ninja-reference" to explicitly force dev-build/ninja. Update > > the documentation, since the code no longer permits "other values". > > > > Closes: https://bugs.gentoo.org/922639 > > Signed-off-by: Michał Górny <[email protected]> > > --- > > eclass/ninja-utils.eclass | 15 ++++++++++----- > > 1 file changed, 10 insertions(+), 5 deletions(-) > > > > diff --git a/eclass/ninja-utils.eclass b/eclass/ninja-utils.eclass > > index f07c7d4109871..c256119730e27 100644 > > --- a/eclass/ninja-utils.eclass > > +++ b/eclass/ninja-utils.eclass > > @@ -1,4 +1,4 @@ > > -# Copyright 1999-2024 Gentoo Authors > > +# Copyright 1999-2025 Gentoo Authors > > # Distributed under the terms of the GNU General Public License v2 > > > > # @ECLASS: ninja-utils.eclass > > @@ -29,9 +29,14 @@ _NINJA_UTILS_ECLASS=1 > > # @PRE_INHERIT > > # @DESCRIPTION: > > # Specify a compatible ninja implementation to be used by eninja(). > > -# At this point only "ninja" and "samu" are explicitly supported, > > -# but other values can be set where NINJA_DEPEND will then be set > > -# to a blank variable. > > +# Accepts the following values: > > +# > > +# - ninja -- use the "ninja" symlink per app-alternatives/ninja > > +# > > +# - ninja-refernce -- use "ninja-reference" for dev-build/ninja > > +# > > +# - samu -- use "samu" for dev-build/samurai > > +# > > # The default is set to "ninja". > > : "${NINJA:=ninja}" > > > > @@ -75,7 +80,7 @@ get_NINJAOPTS() { > > # also supports being called via 'nonfatal'. > > eninja() { > > case "${NINJA}" in > > - ninja|samu) > > + ninja|ninja-reference|samu) > > ;; > > *) > > ewarn "Unknown value '${NINJA}' for \${NINJA}" > > > > Sorry if this formats as HTML, writing from the phone. > > Typo: ninja-refernce -> ninja-reference
Thanks, I've fixed it locally. -- Best regards, Michał Górny
signature.asc
Description: This is a digitally signed message part
