git: 1adc9b9c4534 - stable/15 - Bootstrap pkg before building a pkg package
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 20 Sep 2025 23:28:00 UTC
The branch stable/15 has been updated by cperciva:
URL: https://cgit.FreeBSD.org/src/commit/?id=1adc9b9c4534d7672b740535754de54ade4a7103
commit 1adc9b9c4534d7672b740535754de54ade4a7103
Author: Colin Percival <cperciva@FreeBSD.org>
AuthorDate: 2025-09-18 04:22:50 +0000
Commit: Colin Percival <cperciva@FreeBSD.org>
CommitDate: 2025-09-20 13:50:55 +0000
Bootstrap pkg before building a pkg package
At sufficiently high levels of build parallelism we can try to create
the pkg before any of the other pkgbase-creation steps have taken
care of the bootstrap.
Fixes: 6b5adf33873a ("Include a pkg package in the pkgbase repo")
MFC after: 12 hours
Sponsored by: https://www.patreon.com/cperciva
(cherry picked from commit 98d74493619ee0e1587bffed79ce8e9573c3fc8b)
---
Makefile.inc1 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.inc1 b/Makefile.inc1
index 65631c2e8eb8..cd0385ea32ac 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -2038,7 +2038,7 @@ packages: .PHONY
update-packages: .PHONY
${_+_}${MAKE} -C ${.CURDIR} ${PKGMAKEARGS} real-update-packages
-package-pkg: .PHONY
+package-pkg: _pkgbootstrap _repodir .PHONY
.if exists(${PORTSDIR})
rm -rf /tmp/ports.${TARGET} || :
env ${WMAKEENV} SRCDIR=${.CURDIR} PORTSDIR=${PORTSDIR} REVISION=${_REVISION} \