zsh: update to 5.7.1 & native build
[unleashed-userland.git] / components / libpqxx / patches / pqxx-config.in.patch
blobb9689a891bdd93f589d85610fe1489862284920b
1 --- libpqxx-4.0.1/pqxx-config.in 2013-01-17 11:25:15.000000000 +0400
2 +++ libpqxx-4.0.1/pqxx-config.in.new 2013-10-29 22:57:02.501396890 +0400
3 @@ -5,6 +5,7 @@
4 includedir=@includedir@
5 libdir=@libdir@
6 pkgconfig=@PKG_CONFIG@
7 +pkg_config_path=${PKG_CONFIG_PATH:-@PKG_CONFIG_PATH@}
9 deprecated() {
10 cat 1>&2 <<EOF
11 @@ -25,7 +26,7 @@
12 --help display this help and exit
13 --version output version information
14 EOF
15 - deprecated "$pkgconfig (module libpqxx)"
16 + deprecated "env PKG_CONFIG_PATH=\"$pkg_config_path\" $pkgconfig (module libpqxx)"
18 exit $1
20 @@ -53,8 +54,8 @@
23 --version)
24 - deprecated "\"$pkgconfig --modversion libpqxx\""
25 - $pkgconfig --modversion libpqxx
26 + deprecated "\"env PKG_CONFIG_PATH=\"$pkg_config_path\" $pkgconfig --modversion libpqxx\""
27 + env PKG_CONFIG_PATH="$pkg_config_path" $pkgconfig --modversion libpqxx
28 exit 0
31 @@ -63,13 +64,13 @@
34 --cflags)
35 - deprecated "\"$pkgconfig --cflags libpqxx\""
36 - $pkgconfig --cflags libpqxx
37 + deprecated "\"env PKG_CONFIG_PATH=\"$pkg_config_path\" $pkgconfig --cflags libpqxx\""
38 + env PKG_CONFIG_PATH="$pkg_config_path" $pkgconfig --cflags libpqxx
41 --libs)
42 - deprecated "\"$pkgconfig --libs libpqxx\""
43 - $pkgconfig --libs libpqxx
44 + deprecated "\"env PKG_CONFIG_PATH=\"$pkg_config_path\" $pkgconfig --libs libpqxx\""
45 + env PKG_CONFIG_PATH="$pkg_config_path" $pkgconfig --libs libpqxx