git: 53c1ad8c4add - main - bsd.port.mk: run pkg-create with MAKE_JOB_NUMBER threads
Date: Wed, 04 Mar 2026 14:40:17 UTC
The branch main has been updated by siva:
URL: https://cgit.FreeBSD.org/ports/commit/?id=53c1ad8c4add9656b4ee3e0d1a1c1b643d617f84
commit 53c1ad8c4add9656b4ee3e0d1a1c1b643d617f84
Author: Siva Mahadevan <siva@FreeBSD.org>
AuthorDate: 2026-03-04 14:39:04 +0000
Commit: Siva Mahadevan <siva@FreeBSD.org>
CommitDate: 2026-03-04 14:39:30 +0000
bsd.port.mk: run pkg-create with MAKE_JOB_NUMBER threads
Following the same as https://reviews.freebsd.org/D53053
in the src tree.
Reviewed by: portmgr (bapt)
Approved by: lwhsu (mentor, implicitly)
Differential Revision: https://reviews.freebsd.org/D55232
---
Mk/bsd.port.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 2b8726c75191..e7c9e3ac78d9 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -3459,7 +3459,7 @@ ${_PLIST}.${sp}: ${TMPPLIST}
${WRKDIR_PKGFILE${_SP.${sp}}}: ${_PLIST}.${sp} create-manifest ${WRKDIR}/pkg
@echo "===> Building ${PKGNAME${_SP.${sp}}}"
- @if ! ${SETENV} ${PKG_ENV} ${PKG_CREATE} ${PKG_CREATE_ARGS} -m ${METADIR}.${sp} -p ${_PLIST}.${sp} -o ${WRKDIR}/pkg ${PKGNAME}; then \
+ @if ! ${SETENV} ${PKG_ENV} ${PKG_CREATE} ${PKG_CREATE_ARGS} -T${MAKE_JOBS_NUMBER} -m ${METADIR}.${sp} -p ${_PLIST}.${sp} -o ${WRKDIR}/pkg ${PKGNAME}; then \
cd ${.CURDIR} && eval ${MAKE} delete-package >/dev/null; \
exit 1; \
fi