postgresql, revbump for libxml2, fix build for riscv64 (#12859)

This commit is contained in:
Schrijvers Luc
2025-08-30 08:20:58 +02:00
committed by GitHub
parent 4455cf0d86
commit bb44064b79
2 changed files with 14 additions and 4 deletions

View File

@@ -16,7 +16,7 @@ Ruby, Tcl, ODBC, among others, and exceptional documentation."
HOMEPAGE="https://www.postgresql.org/"
COPYRIGHT="1996-2018 PostgreSQL Global Development Group"
LICENSE="PostgreSQL"
REVISION="7"
REVISION="8"
SOURCE_URI="http://ftp.postgresql.org/pub/source/v$portVersion/postgresql-$portVersion.tar.bz2"
CHECKSUM_SHA256="90815e812874831e9a4bf6e1136bf73bc2c5a0464ef142e2dfea40cda206db08"
SOURCE_DIR="postgresql-$portVersion"
@@ -151,6 +151,10 @@ BUILD_PREREQUIRES="
cmd:touch
"
if [ "$targetArchitecture" = riscv64 ]; then
spinlocks="--disable-spinlocks"
fi
BUILD()
{
libtoolize --force --copy --install
@@ -166,7 +170,8 @@ BUILD()
--with-openssl \
--with-pam \
--with-template=haiku \
--disable-thread-safety
--disable-thread-safety \
$spinlocks
make $jobArgs
}