From def55a0abe8c61b857c4bc021500bf52abd65a61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz?= Date: Sun, 9 Feb 2020 18:34:36 +0000 Subject: patches/{libcaca,toilet}_pre.local.patch: use $PKG_CONFIG vs. pkg-config. subr/pkg_configure_autotools.subr: export ${PKG_CONFIG{,_PATH}}. --- patches/libcaca_pre.local.patch | 11 +++++++++++ patches/toilet_pre.local.patch | 11 +++++++++++ 2 files changed, 22 insertions(+) create mode 100644 patches/libcaca_pre.local.patch create mode 100644 patches/toilet_pre.local.patch (limited to 'patches') diff --git a/patches/libcaca_pre.local.patch b/patches/libcaca_pre.local.patch new file mode 100644 index 00000000..6969ea81 --- /dev/null +++ b/patches/libcaca_pre.local.patch @@ -0,0 +1,11 @@ +--- libcaca/bootstrap.orig 2020-02-09 17:08:18.969163074 +0000 ++++ libcaca/bootstrap 2020-02-09 18:07:03.387297417 +0000 +@@ -84,7 +84,7 @@ + + # Check for pkg-config + if test "$pkgconfig" = "yes"; then +- if ! pkg-config --version >/dev/null 2>&1; then ++ if ! $PKG_CONFIG --version >/dev/null 2>&1; then + echo "$0: pkg-config not found" + exit 1 + fi diff --git a/patches/toilet_pre.local.patch b/patches/toilet_pre.local.patch new file mode 100644 index 00000000..2150c1d4 --- /dev/null +++ b/patches/toilet_pre.local.patch @@ -0,0 +1,11 @@ +--- toilet/bootstrap.orig 2020-02-09 18:15:11.505838202 +0000 ++++ toilet/bootstrap 2020-02-09 18:33:37.270453498 +0000 +@@ -84,7 +84,7 @@ + + # Check for pkg-config + if test "$pkgconfig" = "yes"; then +- if ! pkg-config --version >/dev/null 2>&1; then ++ if ! $PKG_CONFIG --version >/dev/null 2>&1; then + echo "$0: pkg-config not found" + exit 1 + fi -- cgit v1.2.3