summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2022-09-08 12:24:46 +0000
committerPatrick Lauer <patrick@gentoo.org>2022-09-08 12:25:32 +0000
commit07d750a248fde0ee84c9bf862749caac6209ca0b (patch)
treed43a86ee92f1599eec533fd916430c7bfaa73709 /dev-db
parentnet-misc/dhcp: Stabilize 4.4.3-r1 arm64, #869125 (diff)
downloadgentoo-07d750a248fde0ee84c9bf862749caac6209ca0b.tar.gz
gentoo-07d750a248fde0ee84c9bf862749caac6209ca0b.tar.bz2
gentoo-07d750a248fde0ee84c9bf862749caac6209ca0b.zip
dev-db/postgresql: Fix llvm behaviour properly for :14 and :15
Closes: https://bugs.gentoo.org/869167 Signed-off-by: Patrick Lauer <patrick@gentoo.org>
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/postgresql/postgresql-14.5.ebuild5
-rw-r--r--dev-db/postgresql/postgresql-15_beta3.ebuild5
2 files changed, 8 insertions, 2 deletions
diff --git a/dev-db/postgresql/postgresql-14.5.ebuild b/dev-db/postgresql/postgresql-14.5.ebuild
index a22cfff6559c..d4915d199060 100644
--- a/dev-db/postgresql/postgresql-14.5.ebuild
+++ b/dev-db/postgresql/postgresql-14.5.ebuild
@@ -4,8 +4,9 @@
EAPI=8
PYTHON_COMPAT=( python3_{8,9,10,11} )
+LLVM_MAX_SLOT=14
-inherit flag-o-matic linux-info pam python-single-r1 systemd tmpfiles
+inherit flag-o-matic linux-info llvm pam python-single-r1 systemd tmpfiles
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
@@ -84,6 +85,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
diff --git a/dev-db/postgresql/postgresql-15_beta3.ebuild b/dev-db/postgresql/postgresql-15_beta3.ebuild
index 5faee82e9f36..04ca1371543f 100644
--- a/dev-db/postgresql/postgresql-15_beta3.ebuild
+++ b/dev-db/postgresql/postgresql-15_beta3.ebuild
@@ -4,8 +4,9 @@
EAPI=8
PYTHON_COMPAT=( python3_{8,9,10,11} )
+LLVM_MAX_SLOT=14
-inherit flag-o-matic linux-info pam python-single-r1 systemd tmpfiles
+inherit flag-o-matic linux-info llvm pam python-single-r1 systemd tmpfiles
KEYWORDS=""
@@ -85,6 +86,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