commit: 000c92271b727999dfff2b035b1304feb21bdd13
Author: Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 27 13:32:48 2025 +0000
Commit: Patrick Lauer <patrick <AT> gentoo <DOT> org>
CommitDate: Thu Mar 27 13:34:30 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=000c9227
dev-db/postgresql: Wire up liburing support in 9999
Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org>
dev-db/postgresql/metadata.xml | 3 +++
dev-db/postgresql/postgresql-9999.ebuild | 4 +++-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/dev-db/postgresql/metadata.xml b/dev-db/postgresql/metadata.xml
index 09acd78a85ef..9948dcbc6e2a 100644
--- a/dev-db/postgresql/metadata.xml
+++ b/dev-db/postgresql/metadata.xml
@@ -16,6 +16,9 @@
Disable to build and install the clients and libraries
only.
</flag>
+ <flag name="uring">
+ Build with support for <pkg>sys-libs/liburing</pkg> AIO
backend
+ </flag>
<flag name="uuid">
Enable server side UUID generation (via
<pkg>dev-libs/ossp-uuid</pkg>).
diff --git a/dev-db/postgresql/postgresql-9999.ebuild
b/dev-db/postgresql/postgresql-9999.ebuild
index 9790e79cd96a..5baf84577fdf 100644
--- a/dev-db/postgresql/postgresql-9999.ebuild
+++ b/dev-db/postgresql/postgresql-9999.ebuild
@@ -28,7 +28,7 @@ else
fi
IUSE="debug doc +icu kerberos ldap llvm +lz4 nls oauth pam perl python
+readline
- selinux systemd ssl static-libs tcl test uuid xml zlib zstd"
+ selinux systemd ssl static-libs tcl test uring uuid xml zlib zstd"
REQUIRED_USE="
llvm? ( ${LLVM_REQUIRED_USE} )
@@ -58,6 +58,7 @@ readline? ( sys-libs/readline:0= )
ssl? ( >=dev-libs/openssl-0.9.6-r1:0= )
systemd? ( sys-apps/systemd )
tcl? ( >=dev-lang/tcl-8:0= )
+uring? ( sys-libs/liburing )
xml? (
dev-libs/libxml2
dev-libs/libxslt
@@ -176,6 +177,7 @@ src_configure() {
$(meson_feature readline)
$(meson_feature systemd)
$(meson_feature tcl pltcl)
+ $(meson_feature uring liburing)
$(meson_feature xml libxml)
$(meson_feature xml libxslt)
$(meson_feature zlib)