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-2017 PostgreSQL Global Development Group"
LICENSE="PostgreSQL"
REVISION="3"
REVISION="4"
SOURCE_URI="https://ftp.postgresql.org/pub/source/v$portVersion/postgresql-$portVersion.tar.bz2"
CHECKSUM_SHA256="8615acc56646401f0ede97a767dfd27ce07a8ae9c952afdb57163b7234fe8426"
SOURCE_DIR="postgresql-$portVersion"
@@ -119,7 +119,7 @@ BUILD_PREREQUIRES="
BUILD()
{
CFLAGS=-D_BSD_SOURCE runConfigure ./configure
CFLAGS="-D_BSD_SOURCE -O2" runConfigure ./configure
make $jobArgs
}