git: b6ed5a7a1939 - main - editors/mle: GC no longer needed GNU tools from TEST_DEPENDS

From: Alexey Dokuchaev <danfe_at_FreeBSD.org>
Date: Sat, 10 May 2025 13:33:32 UTC
The branch main has been updated by danfe:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b6ed5a7a19397b762133f7fcd11af6a3495ee1c7

commit b6ed5a7a19397b762133f7fcd11af6a3495ee1c7
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2025-05-10 13:31:14 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2025-05-10 13:31:14 +0000

    editors/mle: GC no longer needed GNU tools from TEST_DEPENDS
    
    Obsoleted by portability fixes made upstream in May 2020 but
    never cleaned up.
---
 editors/mle/Makefile | 13 +------------
 1 file changed, 1 insertion(+), 12 deletions(-)

diff --git a/editors/mle/Makefile b/editors/mle/Makefile
index a9cda6cb6e2c..c59035d6059d 100644
--- a/editors/mle/Makefile
+++ b/editors/mle/Makefile
@@ -12,10 +12,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	${LOCALBASE}/include/uthash.h:devel/uthash
 LIB_DEPENDS=	libpcre2-8.so:devel/pcre2
-TEST_DEPENDS=	${LOCALBASE}/bin/gpaste:sysutils/coreutils \
-		${LOCALBASE}/bin/grep:textproc/gnugrep \
-		bash:shells/bash \
-		gfind:misc/findutils
+TEST_DEPENDS=	bash:shells/bash
 
 USES=		compiler:c11 gmake localbase:ldflags shebangfix lua:54
 SHEBANG_FILES=	tests/func/*.sh tests/run.sh
@@ -30,14 +27,6 @@ post-patch:
 	@${REINPLACE_CMD} -e 's|lua5.4|lua-5.4|g' ${WRKSRC}/Makefile
 	@${REINPLACE_CMD} -e 's|-O0|-O2|g' ${WRKSRC}/Makefile
 
-	# Fix shell commands in tests
-	@${REINPLACE_CMD} -e 's|find|gfind|g' \
-		-e 's|grep|${LOCALBASE}/bin/grep|g' \
-		${WRKSRC}/tests/run.sh \
-		${WRKSRC}/tests/func/*.sh
-	@${REINPLACE_CMD} -e 's|p a s t e|g p a s t e|g' \
-		${WRKSRC}/tests/func/test_lua.sh
-
 	# Remove assertions that rely on GNU tooling output
 	@${REINPLACE_CMD} -e '/shell_line/d' \
 		${WRKSRC}/tests/func/test_multi_cursor.sh