git: 98d74493619e - main - Bootstrap pkg before building a pkg package
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 18 Sep 2025 04:25:49 UTC
The branch main has been updated by cperciva:
URL: https://cgit.FreeBSD.org/src/commit/?id=98d74493619ee0e1587bffed79ce8e9573c3fc8b
commit 98d74493619ee0e1587bffed79ce8e9573c3fc8b
Author: Colin Percival <cperciva@FreeBSD.org>
AuthorDate: 2025-09-18 04:22:50 +0000
Commit: Colin Percival <cperciva@FreeBSD.org>
CommitDate: 2025-09-18 04:22:50 +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
---
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} \