Files
gentoo/dev-db/pg_track_settings/pg_track_settings-2.1.2-r1.ebuild
Sam James 0cc8a2f0eb */*: server -> server(+) for pg's POSTGRES_USEDEP
USE=server is only in dev-db/postgresql by way of a patch to make
it conditional. If it's ever removed (as it is in 9999), it'll be
such that the server is available, so (+).

Signed-off-by: Sam James <sam@gentoo.org>
2026-06-28 16:44:17 +01:00

36 lines
778 B
Bash

# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
POSTGRES_COMPAT=( 14 15 16 17 18 )
POSTGRES_USEDEP="server(+)"
inherit postgres-multi
DESCRIPTION="Keeps track of PostgreSQL settings modification"
HOMEPAGE="https://github.com/rjuju/pg_track_settings"
SRC_URI="https://github.com/rjuju/pg_track_settings/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="POSTGRESQL"
SLOT="0"
KEYWORDS="~amd64 ~x86"
REQUIRED_USE="${POSTGRES_REQ_USE}"
RDEPEND="${POSTGRES_DEP}"
DEPEND="${RDEPEND}"
RESTRICT="test"
src_prepare() {
# Workaround for PGXS install, Portage will install it anyway
sed -e '/README.md/d' -i Makefile || die
postgres-multi_src_prepare
}
src_install() {
einstalldocs
postgres-multi_src_install
}