summaryrefslogtreecommitdiff
path: root/lang/rust
diff options
context:
space:
mode:
authorTobias Kortkamp <tobik@FreeBSD.org>2021-04-06 09:23:13 +0200
committerTobias Kortkamp <tobik@FreeBSD.org>2021-04-20 08:57:34 +0200
commita91d65363fe8aa72bdf427bb639b0fe258ee7c01 (patch)
treebff05a5e79d56100a683a17dd262f3cdbf38cf36 /lang/rust
parentdevel/hs-ShellCheck: Update to 0.7.2 (diff)
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 'lang/rust')
-rw-r--r--lang/rust/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/lang/rust/Makefile b/lang/rust/Makefile
index 87c03cd4d9db..f7ad497453a1 100644
--- a/lang/rust/Makefile
+++ b/lang/rust/Makefile
@@ -28,11 +28,10 @@ IGNORE_FreeBSD_11_powerpc64= is missing a bootstrap for FreeBSD 11.x powerpc64
ONLY_FOR_ARCHS?= aarch64 amd64 armv6 armv7 i386 powerpc64 powerpc64le
ONLY_FOR_ARCHS_REASON?= requires prebuilt bootstrap compiler
-BUILD_DEPENDS= cmake:devel/cmake \
- ninja:devel/ninja
+BUILD_DEPENDS= cmake:devel/cmake
LIB_DEPENDS= libcurl.so:ftp/curl
-USES= pkgconfig python:3.6+,build ssl tar:xz
+USES= ninja:build pkgconfig python:3.6+,build ssl tar:xz
MAKE_ENV= DESTDIR=${STAGEDIR} \
OPENSSL_DIR="${OPENSSLBASE}" \