Skip to content

Commit

Permalink
devel/nimble: find lang/nim in its new home
Browse files Browse the repository at this point in the history
PR:		273482
  • Loading branch information
Neal Nelson authored and clausecker committed Sep 10, 2023
1 parent 9fd4b39 commit f0da8a9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions devel/nimble/Makefile
Expand Up @@ -10,16 +10,16 @@ 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

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
Expand Down

0 comments on commit f0da8a9

Please sign in to comment.