From 516a37c79c7d65cef5bea0efc396288fdf9a76eb Mon Sep 17 00:00:00 2001 From: Sam James Date: Wed, 12 Apr 2023 12:33:47 +0100 Subject: postgres.eclass: document PG_SLOT, PG_CONFIG 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 --- eclass/postgres.eclass | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'eclass/postgres.eclass') diff --git a/eclass/postgres.eclass b/eclass/postgres.eclass index c3dc24e9db52..1597f2a9aafb 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: -- cgit v1.2.3