diff options
author | Tobias Kortkamp <tobik@FreeBSD.org> | 2021-04-06 07:23:13 +0000 |
---|---|---|
committer | Tobias Kortkamp <tobik@FreeBSD.org> | 2021-04-20 06:57:34 +0000 |
commit | a91d65363fe8aa72bdf427bb639b0fe258ee7c01 (patch) | |
tree | bff05a5e79d56100a683a17dd262f3cdbf38cf36 /www/deno/Makefile | |
parent | 18f78deb5310e3dc0c3283cc5893339da900640c (diff) | |
download | ports-a91d65363fe8aa72bdf427bb639b0fe258ee7c01.tar.gz ports-a91d65363fe8aa72bdf427bb639b0fe258ee7c01.zip |
Mk/Uses/ninja.mk: Add support for devel/samurai (D29353)
Samurai is a Ninja-compatible build tool with fewer dependencies
than Ninja. Hook it to the framework via a new NINJA_DEFAULT.
This also adds %p to NINJA_STATUS to make Ninja or Samurai print
the percentage of completed jobs to make it easier to eyeball how
much of the build is done.
PR: 254678
Exp-run by: antoine
Diffstat (limited to 'www/deno/Makefile')
-rw-r--r-- | www/deno/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/www/deno/Makefile b/www/deno/Makefile index 7b49f38716d7..304301d68144 100644 --- a/www/deno/Makefile +++ b/www/deno/Makefile @@ -15,7 +15,7 @@ BUILD_DEPENDS= binutils>0:devel/binutils \ gn:devel/gn \ libunwind>0:devel/libunwind -USES= cargo ninja pkgconfig:build python:3.6+,build +USES= cargo ninja:build pkgconfig:build python:3.6+,build USE_GITHUB= yes GH_ACCOUNT= denoland @@ -27,7 +27,7 @@ RUSTY_VERS= 0.21.0 CARGO_ENV+= CLANG_BASE_PATH=/usr \ GN=${PREFIX}/bin/gn \ - NINJA=${PREFIX}/bin/ninja \ + NINJA=${NINJA_CMD} \ V8_FROM_SOURCE=1 RUSTFLAGS+= -C link-arg=-fuse-ld=lld |