From 0f558761aa2dee1017b4751e4017205e015a9560 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 29 Jun 2022 12:04:12 +0100 Subject: gentoo resync : 29.12.2022 --- .../files/lm-sensors-3.6.0-no-which.patch | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 sys-apps/lm-sensors/files/lm-sensors-3.6.0-no-which.patch (limited to 'sys-apps/lm-sensors/files') diff --git a/sys-apps/lm-sensors/files/lm-sensors-3.6.0-no-which.patch b/sys-apps/lm-sensors/files/lm-sensors-3.6.0-no-which.patch new file mode 100644 index 000000000000..e75e23142d86 --- /dev/null +++ b/sys-apps/lm-sensors/files/lm-sensors-3.6.0-no-which.patch @@ -0,0 +1,21 @@ +https://github.com/lm-sensors/lm-sensors/pull/402 +--- a/Makefile ++++ b/Makefile +@@ -250,7 +250,7 @@ manhtml: + + # Flex and Bison + %.c: %.y +- @if ! which $(BISON) 2> /dev/null ; then \ ++ @if ! command -v $(BISON) 2> /dev/null ; then \ + echo "Please install $(BISON), then run \"make clean\" and try again" ; \ + false ; \ + fi +@@ -263,7 +263,7 @@ FLEX_FLAGS := -Psensors_yy -t -Cfe -8 + endif + + %.c: %.l +- @if ! which $(FLEX) 2> /dev/null ; then \ ++ @if ! command -v $(FLEX) 2> /dev/null ; then \ + echo "Please install $(FLEX), then run \"make clean\" and try again" ; \ + false ; \ + fi -- cgit v1.2.3