diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2024-10-23 21:43:07 +0200 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2024-10-23 21:45:46 +0200 |
commit | 9fa417578d3a98d569f21ff1c492b40b0a1456f3 (patch) | |
tree | 801c24faf011ca77d7ac8212ae1c453d15a4335c /dev-ml/ocamlnet | |
parent | dev-python/google-auth: Stabilize 2.35.0 ALLARCHES, #940815 (diff) | |
download | gentoo-9fa417578d3a98d569f21ff1c492b40b0a1456f3.tar.gz gentoo-9fa417578d3a98d569f21ff1c492b40b0a1456f3.tar.bz2 gentoo-9fa417578d3a98d569f21ff1c492b40b0a1456f3.zip |
dev-ml/ocamlnet: drop which in favor of command -v
Closes: https://bugs.gentoo.org/941755
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-ml/ocamlnet')
-rw-r--r-- | dev-ml/ocamlnet/files/ocamlnet-4.1.9-noWhich.patch | 16 | ||||
-rw-r--r-- | dev-ml/ocamlnet/ocamlnet-4.1.9-r1.ebuild | 3 |
2 files changed, 18 insertions, 1 deletions
diff --git a/dev-ml/ocamlnet/files/ocamlnet-4.1.9-noWhich.patch b/dev-ml/ocamlnet/files/ocamlnet-4.1.9-noWhich.patch new file mode 100644 index 000000000000..9baed9842292 --- /dev/null +++ b/dev-ml/ocamlnet/files/ocamlnet-4.1.9-noWhich.patch @@ -0,0 +1,16 @@ +--- 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 diff --git a/dev-ml/ocamlnet/ocamlnet-4.1.9-r1.ebuild b/dev-ml/ocamlnet/ocamlnet-4.1.9-r1.ebuild index 60b4eea78ebf..791b193f2a11 100644 --- a/dev-ml/ocamlnet/ocamlnet-4.1.9-r1.ebuild +++ b/dev-ml/ocamlnet/ocamlnet-4.1.9-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -38,6 +38,7 @@ DEPEND="${RDEPEND}" PATCHES=( "${FILESDIR}"/${P}-unboundLexer.patch "${FILESDIR}"/${P}-shuffle.patch + "${FILESDIR}"/${P}-noWhich.patch ) ocamlnet_use_with() { |