mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
fix(postgresql.org): install contrib extensions (#4901)
* fix(postgresql.org): install contrib extensions in the homebrew formula, postgres does `make install-world`, not just `make install`, which installs extensions under the `contrib/` source dir. in my case, i need the pg_trgm (trigram index) extension * fix(postgresql.org): disable sgml doc generation as popular as i'm sure they are, seems better if the package builds * fix(postgresql.org): disable incompatible pointer type warnings causes the contrib extensions to fail with this version of clang on linux
This commit is contained in:
parent
dd02ec2804
commit
da988fd829
1 changed files with 9 additions and 1 deletions
|
@ -23,6 +23,7 @@ build:
|
||||||
freedesktop.org/pkg-config: '*'
|
freedesktop.org/pkg-config: '*'
|
||||||
#gnu.org/gcc: '*'
|
#gnu.org/gcc: '*'
|
||||||
gnu.org/bison: '*'
|
gnu.org/bison: '*'
|
||||||
|
gnu.org/sed: '*'
|
||||||
github.com/westes/flex: ^2.5.31
|
github.com/westes/flex: ^2.5.31
|
||||||
perl.org: '*'
|
perl.org: '*'
|
||||||
script: |
|
script: |
|
||||||
|
@ -30,9 +31,13 @@ build:
|
||||||
# `./configure` *specifically* checks that certain warnings are emitted.
|
# `./configure` *specifically* checks that certain warnings are emitted.
|
||||||
export CFLAGS="$(echo $CFLAGS | tr ' ' '\n' | sed -e '/^-w$/d' | tr '\n' ' ')"
|
export CFLAGS="$(echo $CFLAGS | tr ' ' '\n' | sed -e '/^-w$/d' | tr '\n' ' ')"
|
||||||
|
|
||||||
|
# disable sgml doc generation, since that seems to fail.
|
||||||
|
# sorry all you sgml-heads out there
|
||||||
|
sed -i 's|\([^\t]*sgml.*\)$|#\1|' GNUmakefile.in doc/src/Makefile
|
||||||
|
|
||||||
./configure $ARGS
|
./configure $ARGS
|
||||||
make --jobs {{ hw.concurrency }}
|
make --jobs {{ hw.concurrency }}
|
||||||
make install
|
make install-world
|
||||||
env:
|
env:
|
||||||
CC: clang
|
CC: clang
|
||||||
CXX: clang++
|
CXX: clang++
|
||||||
|
@ -46,6 +51,9 @@ build:
|
||||||
darwin:
|
darwin:
|
||||||
LDFLAGS:
|
LDFLAGS:
|
||||||
- -headerpad_max_install_names $LDFLAGS
|
- -headerpad_max_install_names $LDFLAGS
|
||||||
|
linux:
|
||||||
|
CFLAGS:
|
||||||
|
- -Wno-incompatible-function-pointer-types $CFLAGS
|
||||||
|
|
||||||
provides:
|
provides:
|
||||||
- bin/clusterdb
|
- bin/clusterdb
|
||||||
|
|
Loading…
Reference in a new issue