gentoo-ebuilds/dev-ml/ocamlnet/files/ocamlnet-4.1.9-noWhich.patch
Alfredo Tupone 9fa417578d
dev-ml/ocamlnet: drop which in favor of command -v
Closes: https://bugs.gentoo.org/941755
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
2024-10-23 21:45:46 +02:00

16 lines
393 B
Diff

--- a/configure 2024-10-23 21:15:13.597333850 +0200
+++ b/configure 2024-10-23 21:15:34.527082731 +0200
@@ -1106,11 +1106,11 @@
printf "%s" "Checking for make utility... "
if [ -z "$MAKE" ]
then
- if which gmake >/dev/null
+ if command -v gmake >/dev/null
then
make=gmake
else
- if which make >/dev/null
+ if command -v make >/dev/null
then
make=make
fi