summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-04-12 12:33:47 +0100
committerSam James <sam@gentoo.org>2023-04-17 22:14:33 +0100
commit516a37c79c7d65cef5bea0efc396288fdf9a76eb (patch)
tree7b17fcb10a56d5c368724f1e1729e3bfc6fa64fc /eclass/postgres.eclass
parentpostgres.eclass: die if no matching postgresql impl found (diff)
downloadgentoo-516a37c79c7d65cef5bea0efc396288fdf9a76eb.tar.gz
gentoo-516a37c79c7d65cef5bea0efc396288fdf9a76eb.tar.bz2
gentoo-516a37c79c7d65cef5bea0efc396288fdf9a76eb.zip
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 <sam@gentoo.org>
Diffstat (limited to 'eclass/postgres.eclass')
-rw-r--r--eclass/postgres.eclass11
1 files changed, 11 insertions, 0 deletions
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: