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

@@ -20,7 +20,7 @@ you want to build, and let PostgreSQL safely and robustly store your data."
HOMEPAGE="https://www.postgresql.org/"
COPYRIGHT="1996-2019 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="cda2397215f758b793f741c86be05468257b0e6bcb1a6113882ab5d0df0855c6"
SOURCE_DIR="postgresql-$portVersion"
@@ -169,7 +169,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 \