Date: Fri, 19 Sep 2025 13:46:40 +0200 From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@FreeBSD.org> To: Colin Percival <cperciva@FreeBSD.org> Cc: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: Re: git: 088e21000507 - main - release: More fixes for building pkg package Message-ID: <865xdefyvz.fsf@ltc.des.dev> In-Reply-To: <202509190809.58J89Eiu036110@gitrepo.freebsd.org> (Colin Percival's message of "Fri, 19 Sep 2025 08:09:14 GMT") References: <202509190809.58J89Eiu036110@gitrepo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?865xdefyvz.fsf>
