mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 20:20:06 +02:00
postgresql, revbump for libxml2, fix build for riscv64 (#12859)
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user