The branch main has been updated by cperciva:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=5918b4866a9689b50180da42aad6d742466b0d1b

commit 5918b4866a9689b50180da42aad6d742466b0d1b
Author:     Colin Percival <cperc...@freebsd.org>
AuthorDate: 2025-09-18 23:37:46 +0000
Commit:     Colin Percival <cperc...@freebsd.org>
CommitDate: 2025-09-18 23:41:14 +0000

    release: Allow pkg build on "wrong" major
    
    While we usually build FreeBSD releases on the same major version, we
    do need to be able to e.g. build 15 on 16.  Tell the ports tree that
    we know what we're doing.  (We don't, not really, but we can at least
    pretend...)
    
    MFC after:      6 hours
    Sponsored by:   https://www.patreon.com/cperciva
---
 release/scripts/make-pkg-package.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/release/scripts/make-pkg-package.sh 
b/release/scripts/make-pkg-package.sh
index a0ac0fc16305..7712054d26c0 100755
--- a/release/scripts/make-pkg-package.sh
+++ b/release/scripts/make-pkg-package.sh
@@ -13,6 +13,7 @@ export WRKDIR=$(make -C ${PORTSDIR}/ports-mgmt/pkg -V WRKDIR)
 
 make -C ${PORTSDIR}/ports-mgmt/pkg TARGET=${TARGET} TARGET_ARCH=${TARGET_ARCH} 
\
        CONFIGURE_ARGS="--host=$(uname -m)-portbld-freebsd${REVISION}" \
+       I_DONT_CARE_IF_MY_BUILDS_TARGET_THE_WRONG_RELEASE=YES \
        BATCH=YES stage create-manifest
 
 ${PKG_CMD} -o ABI=${PKG_ABI} \

Reply via email to