about [UPDATING] [MOVED] [vuxml]summaryrefslograw-logtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfram Schneider <wosch@FreeBSD.org>2025-07-23 13:38:57 +0100
committerMathieu Arnold <mat@FreeBSD.org>2025-07-23 13:39:42 +0100
commit0713649f5808039a4444f884f19d99f3a81625c7 (patch) (diff)
tree2f6e9d19a1d2ba0d24c440907893808e7bdb94fd
downloadports-0713649f5808039a4444f884f19d99f3a81625c7.tar.gz
 
previous commit7349718dfb070e9593fb280abf206bd05f2d8748 (games/fheroes2: update to 1.1.10)
index: respect `make -j X index`
PR: 288349
-rw-r--r--Makefile[diff] [file]4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 9563c5c266ae..79ecd0deacd6 100644
--- a/Makefile
+++ b/Makefile
@@ -92,7 +92,11 @@ SETENV?= /usr/bin/env
FETCHINDEX?= ${SETENV} ${FETCH_ENV} fetch -am -o
.if !defined(INDEX_JOBS)
+. if defined(.MAKE.JOBS)
+INDEX_JOBS= ${.MAKE.JOBS}
+. else
INDEX_JOBS!= ${SYSCTL} -n kern.smp.cpus
+. endif
.endif
.if !defined(INDEX_VERBOSE)
This site is maintained by Jamie Landeg-Jones <jamie@catflap.org>, and is not an official FreeBSD project, nor is it endorsed by the FreeBSD team.