Re: git: 088e21000507 - main - release: More fixes for building pkg package
- In reply to: Colin Percival : "git: 088e21000507 - main - release: More fixes for building pkg package"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 19 Sep 2025 11:46:40 UTC
Colin Percival <cperciva@FreeBSD.org> writes: > 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}" \ This breaks the release build because nothing creates DISTDIR. DES -- Dag-Erling Smørgrav - des@FreeBSD.org