git: f0da8a9cde45 - main - devel/nimble: find lang/nim in its new home

From: Robert Clausecker <fuz_at_FreeBSD.org>
Date: Sun, 10 Sep 2023 16:14:04 UTC
The branch main has been updated by fuz:

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

commit f0da8a9cde456193a4ed5e322eb957632b7f3c3d
Author:     Neal Nelson <ports@nicandneal.net>
AuthorDate: 2023-09-07 13:51:32 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-09-10 16:13:04 +0000

    devel/nimble: find lang/nim in its new home
    
    PR:             273482
---
 devel/nimble/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/devel/nimble/Makefile b/devel/nimble/Makefile
index c82c985b1911..bf6953e53f52 100644
--- a/devel/nimble/Makefile
+++ b/devel/nimble/Makefile
@@ -10,8 +10,8 @@ WWW=		https://github.com/nim-lang/nimble
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/license.txt
 
-BUILD_DEPENDS=	nim:lang/nim
-RUN_DEPENDS=	nim:lang/nim
+BUILD_DEPENDS=	${LOCALBASE}/nim/bin/nim:lang/nim
+RUN_DEPENDS=	${LOCALBASE}/nim/bin/nim:lang/nim
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	nim-lang
@@ -19,7 +19,7 @@ GH_ACCOUNT=	nim-lang
 PLIST_FILES=	bin/nimble
 
 do-build:
-	@cd ${WRKSRC} && nim c -d:release --noNimblePath --parallelBuild=${MAKE_JOBS_NUMBER} --path:${LOCALBASE}/nim --nimcache:${WRKSRC}/nimcache src/nimble
+	@cd ${WRKSRC} && ${LOCALBASE}/nim/bin/nim c -d:release --noNimblePath --parallelBuild=${MAKE_JOBS_NUMBER} --path:${LOCALBASE}/nim --nimcache:${WRKSRC}/nimcache src/nimble
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/src/nimble ${STAGEDIR}${PREFIX}/bin