diff options
Diffstat (limited to 'sys-apps/lm-sensors/files/lm-sensors-3.6.0-no-which.patch')
-rw-r--r-- | sys-apps/lm-sensors/files/lm-sensors-3.6.0-no-which.patch | 21 |
1 files changed, 21 insertions, 0 deletions
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 |