commit:     dde29d161bbe88f748206490eff56f9c732e33db
Author:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Thu May 19 19:24:18 2022 +0000
Commit:     罗百科 <patrick <AT> gentoo <DOT> org>
CommitDate: Thu May 19 19:24:40 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dde29d16

dev-db/postgresql: Add zstd support in postgresql-15

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org>

 .../{postgresql-15_beta1.ebuild => postgresql-15_beta1-r1.ebuild}     | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dev-db/postgresql/postgresql-15_beta1.ebuild 
b/dev-db/postgresql/postgresql-15_beta1-r1.ebuild
similarity index 99%
rename from dev-db/postgresql/postgresql-15_beta1.ebuild
rename to dev-db/postgresql/postgresql-15_beta1-r1.ebuild
index 2d34467c1c25..a9f6faf6e7e5 100644
--- a/dev-db/postgresql/postgresql-15_beta1.ebuild
+++ b/dev-db/postgresql/postgresql-15_beta1-r1.ebuild
@@ -22,7 +22,7 @@ HOMEPAGE="https://www.postgresql.org/";
 
 IUSE="debug doc icu kerberos ldap llvm lz4 nls pam
          perl python +readline selinux +server systemd ssl static-libs tcl
-         threads uuid xml zlib"
+         threads uuid xml zlib zstd"
 
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
@@ -49,6 +49,7 @@ ssl? ( >=dev-libs/openssl-0.9.6-r1:0= )
 tcl? ( >=dev-lang/tcl-8:0= )
 xml? ( dev-libs/libxml2 dev-libs/libxslt )
 zlib? ( sys-libs/zlib )
+zstd? ( app-arch/zstd )
 "
 
 # uuid flags -- depend on sys-apps/util-linux for Linux libcs, or if no
@@ -155,6 +156,7 @@ src_configure() {
                $(use_with xml libxml) \
                $(use_with xml libxslt) \
                $(use_with zlib) \
+               $(use_with zstd) \
                $(use_enable nls)"
        if use alpha; then
                myconf+=" --disable-spinlocks"

Reply via email to