postgresql, fix CFLAGS build (#12831)

This commit is contained in:
Schrijvers Luc
2025-08-28 11:48:31 +02:00
committed by GitHub
parent 83c4844a2a
commit af74abc468
5 changed files with 6 additions and 863 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="6"
REVISION="7"
SOURCE_URI="http://ftp.postgresql.org/pub/source/v$portVersion/postgresql-$portVersion.tar.bz2"
CHECKSUM_SHA256="90815e812874831e9a4bf6e1136bf73bc2c5a0464ef142e2dfea40cda206db08"
SOURCE_DIR="postgresql-$portVersion"
@@ -158,7 +158,7 @@ BUILD()
touch src/template/haiku # AFAIK it should be empty
touch config/missing # shouldn't be required
CFLAGS=-D_BSD_SOURCE LDFLAGS="-lnetwork" runConfigure ./configure \
CFLAGS="-D_BSD_SOURCE -O2" LDFLAGS="-lnetwork" runConfigure ./configure \
--with-icu \
--with-ldap \
--with-libxml \