• [gentoo-dev] [PATCH 2/3] postgres.eclass: document PG_SLOT, PG_CONFIG

    From Sam James@21:1/5 to All on Thu Apr 13 05:10:01 2023
    These variables are exported by pkg_setup and are intended for
    use by ebuilds, as the docs for postgres_pkg_setup say.

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

    diff --git a/eclass/postgres.eclass b/eclass/postgres.eclass
    index c3dc24e9db526..1597f2a9aafb7 100644
    --- a/eclass/postgres.eclass
    +++ b/eclass/postgres.eclass
    @@ -65,6 +65,17 @@ declare -p POSTGRES_USEDEP &>/dev/null && POSTGRES_DEP+="[${POSTGRES_USEDEP}]"
    # required if the package must build against one of the PostgreSQL slots
    # declared in POSTGRES_COMPAT.

    +# @ECLASS_VARIABLE: PG_SLOT
    +# @DEFAULT_UNSET
    +# @DESCRIPTION:
    +# PG_SLOT is the chosen PostgreSQL slot that is used for the build.
    +
    +# @ECLASS_VARIABLE: PG_CONFIG
    +# @DEFAULT_UNSET
    +# @DESCRIPTION:
    +# PG_CONFIG is the path to pg_config for the chosen PostgreSQL slot.
    +# For example, PG_CONFIG="pg_config15"
    +
    # @ECLASS_VARIABLE: _POSTGRES_COMPAT
    # @INTERNAL
    # @DESCRIPTION:
    --
    2.40.0

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