Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jul 2026 01:50:29 +0000
From:      Colin Percival <cperciva@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 8d92f32ae011 - main - make-pkg-package.sh: Fix build for pkg 2.8.0
Message-ID:  <6a680ae5.41a77.553597c5@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by cperciva:

URL: https://cgit.FreeBSD.org/src/commit/?id=8d92f32ae011719b322b9943d01529cebef741f0

commit 8d92f32ae011719b322b9943d01529cebef741f0
Author:     Colin Percival <cperciva@FreeBSD.org>
AuthorDate: 2026-07-28 01:43:30 +0000
Commit:     Colin Percival <cperciva@FreeBSD.org>
CommitDate: 2026-07-28 01:49:28 +0000

    make-pkg-package.sh: Fix build for pkg 2.8.0
    
    We used to pass CONFIGURE_ARGS to the make command which builds pkg,
    but ports/ports-mgmt/pkg/Makefile has its own CONFIGURE_ARGS and the
    version we were providing at the command line didn't contain the
    --mandir setting which was added to the port with pkg 2.8.0.  This
    broke release builds.
    
    Instead of passing --prefix=${LOCALBASE} via CONFIGURE_ARGS, pass
    PREFIX=${LOCALBASE}; the port Makefile passes that value through to
    its configure script.  We also used to pass a --host parameter, but
    that seems to have become unnecessary at some point in the past decade.
    
    MFC after:      1 day
    Sponsored by:   Amazon
---
 release/scripts/make-pkg-package.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/release/scripts/make-pkg-package.sh b/release/scripts/make-pkg-package.sh
index 97ff5da93aac..fb296b07cc4a 100755
--- a/release/scripts/make-pkg-package.sh
+++ b/release/scripts/make-pkg-package.sh
@@ -22,7 +22,7 @@ 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} --prefix=${LOCALBASE}" \
+	PREFIX=${LOCALBASE} \
 	I_DONT_CARE_IF_MY_BUILDS_TARGET_THE_WRONG_RELEASE=YES \
 	BATCH=YES stage create-manifest
 


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a680ae5.41a77.553597c5>