fix(psql)

This commit is contained in:
Jacob Heider 2023-09-14 11:10:43 -04:00 committed by Jacob Heider
parent 3c9d48dd2f
commit da183e016c
2 changed files with 6 additions and 4 deletions

View file

@ -13,6 +13,7 @@ dependencies:
kerberos.org: '*' kerberos.org: '*'
openssl.org: '*' openssl.org: '*'
zlib.net: '*' zlib.net: '*'
unicode.org: '*'
linux: linux:
gnu.org/readline: '*' gnu.org/readline: '*'
@ -20,6 +21,7 @@ build:
dependencies: dependencies:
tea.xyz/gx/cc: c99 tea.xyz/gx/cc: c99
tea.xyz/gx/make: '*' tea.xyz/gx/make: '*'
freedesktop.org/pkg-config: ^0
script: | script: |
# remove `-w`` from CFLAGS, because it causes build to fail, ironically. # remove `-w`` from CFLAGS, because it causes build to fail, ironically.
# `./configure` *specifically* checks that certain warnings are emitted. # `./configure` *specifically* checks that certain warnings are emitted.

View file

@ -1,6 +1,6 @@
distributable: distributable:
url: https://github.com/postgres/postgres/archive/refs/tags/REL_{{version.major}}_{{version.minor}}.tar.gz url: https://github.com/postgres/postgres/archive/refs/tags/REL_{{version.major}}_{{version.minor}}.tar.gz
strip-components: 1 strip-components: 1
versions: versions:
url: https://www.postgresql.org/ftp/source/ url: https://www.postgresql.org/ftp/source/
@ -16,6 +16,7 @@ dependencies:
lz4.org: '*' lz4.org: '*'
gnome.org/libxml2: '*' gnome.org/libxml2: '*'
gnome.org/libxslt: '*' gnome.org/libxslt: '*'
unicode.org: '*'
build: build:
dependencies: dependencies:
@ -78,7 +79,7 @@ test:
script: | script: |
# While we'd love a good test like this, `initdb` doesn't run as root, and managing # While we'd love a good test like this, `initdb` doesn't run as root, and managing
# all the environment passthrough with `sudo` is a nightmare. # all the environment passthrough with `sudo` is a nightmare.
if test "{{ hw.platform }}" = "linux"; then if test "{{ hw.platform }}" = "linux"; then
pg_config --sharedir pg_config --sharedir
pg_config --libdir pg_config --libdir
@ -97,4 +98,3 @@ test:
rm -rf ./data rm -rf ./data
fi fi