summaryrefslogtreecommitdiff
path: root/dev-db/postgresql/postgresql-18.0.ebuild
diff options
context:
space:
mode:
authorHolger Hoffstätte <holger@applied-asynchrony.com>2025-10-14 23:47:29 +0200
committerSam James <sam@gentoo.org>2025-10-15 06:23:56 +0100
commitd440c4432140716e4e48ae1f10e538917ab9519b (patch)
tree7aafb4c4fbc3d182dfb7dfe19bb4123c5b9cddbd /dev-db/postgresql/postgresql-18.0.ebuild
parent94c042b123a392209179d33836282f85db02db0f (diff)
downloadgentoo-d440c4432140716e4e48ae1f10e538917ab9519b.tar.gz
gentoo-d440c4432140716e4e48ae1f10e538917ab9519b.tar.bz2
gentoo-d440c4432140716e4e48ae1f10e538917ab9519b.zip
dev-db/postgresql: fix USE=-server in 18.0, address pkgcheck warnings
Closes: https://bugs.gentoo.org/963427 Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com> Part-of: https://github.com/gentoo/gentoo/pull/44180 Closes: https://github.com/gentoo/gentoo/pull/44180 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-db/postgresql/postgresql-18.0.ebuild')
-rw-r--r--dev-db/postgresql/postgresql-18.0.ebuild17
1 files changed, 8 insertions, 9 deletions
diff --git a/dev-db/postgresql/postgresql-18.0.ebuild b/dev-db/postgresql/postgresql-18.0.ebuild
index c9b9247bb6e5..561eff3836e7 100644
--- a/dev-db/postgresql/postgresql-18.0.ebuild
+++ b/dev-db/postgresql/postgresql-18.0.ebuild
@@ -9,18 +9,16 @@ LLVM_OPTIONAL=1
inherit dot-a flag-o-matic linux-info llvm-r1 pam python-single-r1 systemd tmpfiles
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
-
-SLOT=$(ver_cut 1)
+DESCRIPTION="PostgreSQL RDBMS"
+HOMEPAGE="https://www.postgresql.org/"
MY_PV=${PV/_/}
-S="${WORKDIR}/${PN}-${MY_PV}"
-
SRC_URI="https://ftp.postgresql.org/pub/source/v${MY_PV}/postgresql-${MY_PV}.tar.bz2"
-
+S="${WORKDIR}/${PN}-${MY_PV}"
LICENSE="POSTGRESQL GPL-2"
-DESCRIPTION="PostgreSQL RDBMS"
-HOMEPAGE="https://www.postgresql.org/"
+SLOT=$(ver_cut 1)
+
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
IUSE="debug doc +icu kerberos ldap llvm +lz4 +numa nls oauth pam perl python
+readline selinux +server systemd ssl static-libs tcl uuid +uring
@@ -119,7 +117,7 @@ src_prepare() {
# hardened and non-hardened environments. (Bug #528786)
sed 's/@install_bin@/install -c/' -i src/Makefile.global.in || die
- use server || eapply "${FILESDIR}/${PN}-17.0-no-server.patch"
+ use server || eapply "${FILESDIR}/${PN}-18.0-no-server.patch"
if use pam ; then
sed "s/\(#define PGSQL_PAM_SERVICE \"postgresql\)/\1-${SLOT}/" \
@@ -186,6 +184,7 @@ src_configure() {
$(use_with zlib) \
$(use_with zstd) \
$(use_enable nls)"
+
econf ${myconf}
}