summaryrefslogtreecommitdiff
path: root/lang/nim/Makefile
diff options
context:
space:
mode:
authorLoïc Bartoletti <lbartoletti@FreeBSD.org>2020-04-27 16:50:49 +0000
committerLoïc Bartoletti <lbartoletti@FreeBSD.org>2020-04-27 16:50:49 +0000
commite648893bed95616eca864897b482bcd4397cbc3b (patch)
tree3891c21f8bb4dafa1dbe48863bfd3a4341e9192d /lang/nim/Makefile
parentBump PORTREVISION since DBUS support is default. (diff)
lang/nim: Fix the build of lang/nim within poudriere:
- Make sure we use specified build caches for all build commands (this was causing the poudriere testport to fail for the tools build). - Ensure that devel/nimble is not built as part of this port by using the koch toolsToNimble command instead of koch tools. If left to it's own devices the koch tools command will download nimble from git and build it itself. PR: 245789 Submitted by: Neal Nelson Reviewed by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D24585
Notes
Notes: svn path=/head/; revision=533154
Diffstat (limited to 'lang/nim/Makefile')
-rw-r--r--lang/nim/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/lang/nim/Makefile b/lang/nim/Makefile
index 74a5d67af6b2..60fd170b2f56 100644
--- a/lang/nim/Makefile
+++ b/lang/nim/Makefile
@@ -45,13 +45,14 @@ do-build:
cd ${WRKSRC} && ${SETENV} CC="${CC}" LINKER="${CC}" \
COMP_FLAGS="${CPPFLAGS} ${CFLAGS}" LINK_FLAGS="${LDFLAGS}" \
${SH} build.sh
- cd ${WRKSRC} && bin/nim c --parallelBuild=${MAKE_JOBS_NUMBER} --nimcache=${WRKSRC}/nimcache koch
+ cd ${WRKSRC} && bin/nim c --parallelBuild=${MAKE_JOBS_NUMBER} \
+ --nimcache=${WRKDIR}/nimcache koch
cd ${WRKSRC} && ./koch boot --parallelBuild=${MAKE_JOBS_NUMBER} \
- -d:release
+ -d:release --nimcache=${WRKDIR}/nimcache
do-build-TOOLS-on:
- cd ${WRKSRC} && ./koch tools --parallelBuild=${MAKE_JOBS_NUMBER} \
- -d:release
+ cd ${WRKSRC} && ./koch toolsNoNimble --parallelBuild=${MAKE_JOBS_NUMBER} \
+ -d:release --nimcache=${WRKDIR}/nimcache
do-install:
cd ${WRKSRC} && ${SH} install.sh ${STAGEDIR}${PREFIX}