void-packages/srcpkgs/zabbix/patches/fix-libxml2_m4.patch
Jürgen Buchmüller 3416fd5ab9 zabbix: add which to hostmakedepends; fixes cross
Patch libxml2.m4 to use which to find the pkg-config binary on the path.
2020-07-24 08:21:34 +02:00

11 lines
359 B
Diff

--- m4/libxml2.m4 2020-05-10 19:36:06.000000000 +0200
+++ m4/libxml2.m4 2020-07-24 07:58:12.642619506 +0200
@@ -52,7 +52,7 @@
AC_REQUIRE([PKG_PROG_PKG_CONFIG])
PKG_PROG_PKG_CONFIG()
- if test -x "$PKG_CONFIG"; then
+ if test -x $(which "$PKG_CONFIG"); then
LIBXML2_CFLAGS="`$PKG_CONFIG --cflags libxml-2.0`"