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

View file

@ -1,6 +1,6 @@
distributable:
url: https://github.com/postgres/postgres/archive/refs/tags/REL_{{version.major}}_{{version.minor}}.tar.gz
strip-components: 1
url: https://github.com/postgres/postgres/archive/refs/tags/REL_{{version.major}}_{{version.minor}}.tar.gz
strip-components: 1
versions:
url: https://www.postgresql.org/ftp/source/
@ -16,6 +16,7 @@ dependencies:
lz4.org: '*'
gnome.org/libxml2: '*'
gnome.org/libxslt: '*'
unicode.org: '*'
build:
dependencies:
@ -78,7 +79,7 @@ test:
script: |
# 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.
if test "{{ hw.platform }}" = "linux"; then
pg_config --sharedir
pg_config --libdir
@ -97,4 +98,3 @@ test:
rm -rf ./data
fi