[Bug 281674] Mk/bsd.port.mk: Add MACHINE_ARCH to WRK_ENV
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 281674] Mk/bsd.port.mk: Add MACHINE_ARCH to WRK_ENV"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 11 Oct 2024 09:12:38 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281674 --- Comment #2 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3154506a168d8188fe06f252e070b394b6581db3 commit 3154506a168d8188fe06f252e070b394b6581db3 Author: Tijl Coosemans <tijl@FreeBSD.org> AuthorDate: 2024-09-07 22:06:27 +0000 Commit: Tijl Coosemans <tijl@FreeBSD.org> CommitDate: 2024-10-11 09:04:54 +0000 Mk/bsd.port.mk: Add MACHINE_ARCH to WRK_ENV make(1) has a built-in variable MACHINE_ARCH that defaults to the value of sysctl hw.machine_arch. This is not correct when building packages under qemu. In that case poudriere sets MACHINE_ARCH in its make.conf. Since commit d7511b9d0074 make.conf is not picked up by make during build so pass MACHINE_ARCH through the environment. This affects building kmod ports under qemu. This is a workaround for make not looking at UNAME_p when setting MACHINE_ARCH. It does look at UNAME_m when setting MACHINE. PR: 281674 Reported by: jrtc27 Exp-run by: antoine Approved by: portmgr (antoine) Mk/bsd.port.mk | 1 + 1 file changed, 1 insertion(+) -- You are receiving this mail because: You are on the CC list for the bug.