git: 918352995598 - stable/15 - release: More fixes for building pkg package
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 20 Sep 2025 23:28:05 UTC
The branch stable/15 has been updated by cperciva: URL: https://cgit.FreeBSD.org/src/commit/?id=918352995598200eed8b2beed73439c3e0a00806 commit 918352995598200eed8b2beed73439c3e0a00806 Author: Colin Percival <cperciva@FreeBSD.org> AuthorDate: 2025-09-19 08:07:17 +0000 Commit: Colin Percival <cperciva@FreeBSD.org> CommitDate: 2025-09-20 13:50:56 +0000 release: More fixes for building pkg package * Ignore "wrong major" errors when obtaining WRKDIR. * Put distfiles in /tmp in case /usr/ports is read-only. MFC after: 6 hours Sponsored by: https://www.patreon.com/cperciva (cherry picked from commit 088e21000507510a2c3b1ec22684fe9665f6c8a7) --- release/scripts/make-pkg-package.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/release/scripts/make-pkg-package.sh b/release/scripts/make-pkg-package.sh index 7712054d26c0..ee75e7d68d14 100755 --- a/release/scripts/make-pkg-package.sh +++ b/release/scripts/make-pkg-package.sh @@ -9,7 +9,8 @@ unset PKG_VERSION unset MAKEFLAGS unset PKGBASE export WRKDIRPREFIX=/tmp/ports.${TARGET} -export WRKDIR=$(make -C ${PORTSDIR}/ports-mgmt/pkg -V WRKDIR) +export DISTDIR=/tmp/distfiles +export WRKDIR=$(make -C ${PORTSDIR}/ports-mgmt/pkg I_DONT_CARE_IF_MY_BUILDS_TARGET_THE_WRONG_RELEASE=YES -V WRKDIR) make -C ${PORTSDIR}/ports-mgmt/pkg TARGET=${TARGET} TARGET_ARCH=${TARGET_ARCH} \ CONFIGURE_ARGS="--host=$(uname -m)-portbld-freebsd${REVISION}" \