From 099885d492e52d178f6d8b6bb27e747f83d29b65 Mon Sep 17 00:00:00 2001 From: "Aaron W. Swenson" Date: Thu, 13 Jul 2017 15:07:35 -0400 Subject: dev-db/postgresql: Spinlocks, pushd, and man MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit All versions now generate slotted man pages instead of using symlinks. This is cleaner, and won’t result in broken links. You can now run ‘man psql96’ (or similar) and actually get the man page for psql, version 9.6.x. 10_beta2 and 9999 now dies if it can’t pushd into the directory it needs to be in when generating the man pages. Re-disabled spinlocks for versions 9.5 and after. Somehow this got excluded from the 9.6 release. Package-Manager: Portage-2.3.6, Repoman-2.3.1 --- dev-db/postgresql/postgresql-10_beta2.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'dev-db/postgresql/postgresql-10_beta2.ebuild') diff --git a/dev-db/postgresql/postgresql-10_beta2.ebuild b/dev-db/postgresql/postgresql-10_beta2.ebuild index 6ccc0c76d158..b723fe577cbf 100644 --- a/dev-db/postgresql/postgresql-10_beta2.ebuild +++ b/dev-db/postgresql/postgresql-10_beta2.ebuild @@ -168,6 +168,7 @@ src_configure() { --mandir="${PO}/usr/share/postgresql-${SLOT}/man" \ --sysconfdir="${PO}/etc/postgresql-${SLOT}" \ --with-system-tzdata="${PO}/usr/share/zoneinfo" \ + $(use_enable !alpha spinlocks) \ $(use_enable !pg_legacytimestamp integer-datetimes) \ $(use_enable threads thread-safety) \ $(use_with kerberos gssapi) \ @@ -223,7 +224,7 @@ src_install() { local rel_manpath="../../postgresql-${SLOT}/man/man${mansec}" mkdir -p "${ED}"/usr/share/man/man${mansec} || die "making man dir" - pushd "${ED}"/usr/share/man/man${mansec} > /dev/null + pushd "${ED}"/usr/share/man/man${mansec} > /dev/null || die "pushd failed" for f in "${ED}/usr/share/postgresql-${SLOT}/man/man${mansec}"/* ; do bn=$(basename "${f}") -- cgit v1.2.3