From d49fccf6cbbbdab563c1d38718f9dc177548659b Mon Sep 17 00:00:00 2001 From: Patrick Lauer Date: Thu, 24 Mar 2022 06:28:11 +0000 Subject: dev-db/postgresql: llvm14 support Upstream patch applies to v.12+ Restrict max llvm version to 13 for v.11 as patch fails (this should be rectified in next upstream release) Bug: https://bugs.gentoo.org/835861 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Patrick Lauer --- dev-db/postgresql/postgresql-11.14-r1.ebuild | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'dev-db/postgresql/postgresql-11.14-r1.ebuild') diff --git a/dev-db/postgresql/postgresql-11.14-r1.ebuild b/dev-db/postgresql/postgresql-11.14-r1.ebuild index 87ce14e8127a..8ec21798e0ae 100644 --- a/dev-db/postgresql/postgresql-11.14-r1.ebuild +++ b/dev-db/postgresql/postgresql-11.14-r1.ebuild @@ -4,8 +4,9 @@ EAPI=7 PYTHON_COMPAT=( python3_{8,9,10} ) +LLVM_MAX_SLOT=13 -inherit flag-o-matic linux-info multilib pam prefix python-single-r1 systemd tmpfiles +inherit flag-o-matic linux-info llvm multilib pam prefix python-single-r1 systemd tmpfiles KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" @@ -36,8 +37,8 @@ icu? ( dev-libs/icu:= ) kerberos? ( virtual/krb5 ) ldap? ( net-nds/openldap:= ) llvm? ( - sys-devel/llvm:= - sys-devel/clang:= + =dev-lang/perl-5.8:= ) @@ -83,6 +84,8 @@ selinux? ( sec-policy/selinux-postgresql ) " pkg_setup() { + use llvm && llvm_pkg_setup + use server && CONFIG_CHECK="~SYSVIPC" linux-info_pkg_setup use python && python-single-r1_pkg_setup -- cgit v1.2.3