Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Feb 2026 10:58:12 +0000
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: b1c3c8e30d12 - main - games/punchy: respect MAKE_JOBS_NUMBER
Message-ID:  <69998fc4.25662.314d4010@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by jbeich:

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

commit b1c3c8e30d1289957594afbf327de479cc131145
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2026-02-21 09:47:54 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2026-02-21 10:57:57 +0000

    games/punchy: respect MAKE_JOBS_NUMBER
    
    Pass -j<n> from Cargo to Ninja. NUM_JOBS is part of default variables.
    https://doc.rust-lang.org/cargo/reference/environment-variables.html
    
    PR:             293314
    Reported by:    fuz
    Obtained from:  upstream
---
 games/punchy/files/patch-ninja-jobs | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/games/punchy/files/patch-ninja-jobs b/games/punchy/files/patch-ninja-jobs
new file mode 100644
index 000000000000..ae8f708f9e6a
--- /dev/null
+++ b/games/punchy/files/patch-ninja-jobs
@@ -0,0 +1,15 @@
+https://github.com/denoland/rusty_v8/commit/ca83ce53bad1
+
+--- cargo-crates/v8-0.47.1/build.rs.orig	1973-11-29 21:33:09 UTC
++++ cargo-crates/v8-0.47.1/build.rs
+@@ -644,6 +644,10 @@ fn ninja(gn_out_dir: &Path, maybe_env: Option<NinjaEnv
+   let mut cmd = Command::new(cmd_string);
+   cmd.arg("-C");
+   cmd.arg(&gn_out_dir);
++  if let Ok(jobs) = env::var("NUM_JOBS") {
++    cmd.arg("-j");
++    cmd.arg(jobs);
++  }
+   if let Some(env) = maybe_env {
+     for item in env {
+       cmd.env(item.0, item.1);


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69998fc4.25662.314d4010>