| https://github.com/pciutils/pciutils/pull/105 |
| |
| From a74832198ab36683a867c79b3d6ef2cac9baad55 Mon Sep 17 00:00:00 2001 |
| From: Sam James <sam@gentoo.org> |
| Date: Sun, 19 Jun 2022 23:53:42 +0100 |
| Subject: [PATCH 2/2] lib/configure: respect $PKG_CONFIG completely |
| |
| Signed-off-by: Sam James <sam@gentoo.org> |
| --- a/lib/configure |
| +++ b/lib/configure |
| @@ -268,7 +268,7 @@ if [ "$sys" = linux ] ; then |
| if [ "$HWDB" = yes -o "$HWDB" = no ] ; then |
| echo "$HWDB (set manually)" |
| else |
| - if `command -v pkg-config >/dev/null && pkg-config --atleast-version=196 libudev` ; then |
| + if `command -v $PKG_CONFIG >/dev/null && $PKG_CONFIG --atleast-version=196 libudev` ; then |
| HWDB=yes |
| else |
| HWDB=no |