git: 0a452bf8f396 - main - misc/grok-cli: Add USES=certs:fetch

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Mon, 09 Mar 2026 16:13:35 UTC
The branch main has been updated by yuri:

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

commit 0a452bf8f396888f01a3a61d397d89ff78459d90
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-03-09 16:09:57 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-03-09 16:13:26 +0000

    misc/grok-cli: Add USES=certs:fetch
    
    ... since some users report that this is required, ex. in bug#293676
---
 misc/grok-cli/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/misc/grok-cli/Makefile b/misc/grok-cli/Makefile
index efd2cd66c12b..da9fa21c9968 100644
--- a/misc/grok-cli/Makefile
+++ b/misc/grok-cli/Makefile
@@ -13,7 +13,7 @@ FETCH_DEPENDS=	npm:www/npm \
 		jq:textproc/jq
 RUN_DEPENDS=	rg:textproc/ripgrep
 
-USES=		nodejs:run
+USES=		certs:fetch nodejs:run
 
 NO_BUILD=	yes
 NO_ARCH=	yes
@@ -24,7 +24,7 @@ FETCH_SCRIPT=	${PORTSDIR}/Tools/scripts/npmjs-fetch-with-dependencies.sh
 
 do-fetch:
 	@if ! [ -f ${DISTDIR}/${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} ]; then \
-		${SETENV} TMPDIR=${WRKDIR} ${FETCH_SCRIPT} \
+		${SETENV} TMPDIR=${WRKDIR} LOCALBASE=${LOCALBASE} ${FETCH_SCRIPT} \
 			${PACKAGE_NAME} ${DISTVERSION} \
 			${FILESDIR}/package-lock.json \
 			${DISTDIR}/${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX}; \