• [gentoo-dev] [PATCH 1/2] cmake.eclass: mark CMAKE_VERBOSE as @USER_VARI

    From Sam James@21:1/5 to All on Tue Jan 3 05:10:01 2023
    It's a policy requirement that ebuilds produce verbose logs, so ebuilds themselves
    must not set CMAKE_VERBOSE. But users can.

    Signed-off-by: Sam James <sam@gentoo.org>
    ---
    eclass/cmake.eclass | 3 ++-
    1 file changed, 2 insertions(+), 1 deletion(-)

    diff --git a/eclass/cmake.eclass b/eclass/cmake.eclass
    index 094b6d706bc2e..6787735d5416d 100644
    --- a/eclass/cmake.eclass
    +++ b/eclass/cmake.eclass
    @@ -1,4 +1,4 @@
    -# Copyright 1999-2022 Gentoo Authors
    +# Copyright 1999-2023 Gentoo Authors
    # Distributed under the terms of the GNU General Public License v2

    # @ECLASS: cmake.eclass
    @@ -96,6 +96,7 @@ fi
    # By default it uses current working directory (in EAPI-7: ${S}).

    # @ECLASS_VARIABLE: CMAKE_VERBOSE
    +# @USER_VARIABLE
    # @DESCRIPTION:
    # Set to OFF to disable verbose messages during compilation
    : ${CMAKE_VERBOSE:=ON}
    --
    2.39.0

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)