gentoo-ebuilds/sci-mathematics/cubicle/files/cubicle-1.2.0-which.patch
Maciej Barć b9220914ed
sci-mathematics/cubicle: use command -v
Closes: https://bugs.gentoo.org/956455
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
2025-05-23 01:01:16 +02:00

11 lines
396 B
Diff

--- a/configure.in
+++ b/configure.in
@@ -39,7 +39,7 @@ AC_CHECK_PROG(USEOCAMLFIND,ocamlfind,yes,no)
if test "$USEOCAMLFIND" = yes; then
OCAMLFINDLIB=$(ocamlfind printconf stdlib)
- OCAMLFIND=$(which ocamlfind)
+ OCAMLFIND=$(command -v ocamlfind)
if test "$OCAMLFINDLIB" != "$OCAMLLIB"; then
USEOCAMLFIND=no;
echo "but your ocamlfind is not compatible with your ocamlc:"