commit: 6fbef0912e446d99c1a5b1cfc9e81ad563ef95a7 Author: Maciej Barć <xgqt <AT> gentoo <DOT> org> AuthorDate: Thu Jan 8 19:29:29 2026 +0000 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org> CommitDate: Thu Jan 8 21:19:38 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fbef091
dev-lang/lfe: use command -v Closes: https://bugs.gentoo.org/956003 Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org> dev-lang/lfe/files/lfe-2.2.0-which.patch | 27 +++++++++++++++++++++++++++ dev-lang/lfe/lfe-2.2.0-r1.ebuild | 2 ++ 2 files changed, 29 insertions(+) diff --git a/dev-lang/lfe/files/lfe-2.2.0-which.patch b/dev-lang/lfe/files/lfe-2.2.0-which.patch new file mode 100644 index 000000000000..bc45903da7cd --- /dev/null +++ b/dev-lang/lfe/files/lfe-2.2.0-which.patch @@ -0,0 +1,27 @@ +From 5b93fc78cba80b6a97cc1e4c91d183495591e8b4 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Maciej=20Bar=C4=87?= <[email protected]> +Date: Wed, 7 Jan 2026 23:35:29 +0100 +Subject: [PATCH] Makefile: use portable "command -v" instead of the "which" + command +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Signed-off-by: Maciej Barć <[email protected]> +--- + Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile b/Makefile +index 70e26cb1..e6f61819 100644 +--- a/Makefile ++++ b/Makefile +@@ -41,7 +41,7 @@ DESTBINDIR := $(DESTLIBDIR)/$(BINDIR) + + VPATH = $(SRCDIR) + +-MANDB = $(shell which mandb) ++MANDB = $(shell command -v mandb) + + ERLCFLAGS = -W1 +debug_info + ERLC ?= erlc diff --git a/dev-lang/lfe/lfe-2.2.0-r1.ebuild b/dev-lang/lfe/lfe-2.2.0-r1.ebuild index 89482e33411e..bb84a3c65f34 100644 --- a/dev-lang/lfe/lfe-2.2.0-r1.ebuild +++ b/dev-lang/lfe/lfe-2.2.0-r1.ebuild @@ -33,6 +33,8 @@ BDEPEND=" ${RDEPEND} " +PATCHES=( "${FILESDIR}/lfe-2.2.0-which.patch" ) + SITEFILE="70${PN}-gentoo-r1.el" src_compile() {
