1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00
freebsd-ports/Mk
Tijl Coosemans 3154506a16 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 d7511b9d00 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)
2024-10-11 11:04:54 +02:00
..
Features
Scripts Mk/Scripts: Fix typos 2024-09-12 17:09:32 +02:00
Uses Mk: CentOS 7 EOL 2024-10-02 12:47:16 +02:00
Wrappers
bsd.ccache.mk
bsd.commands.mk
bsd.default-versions.mk editors/lazarus-devel: Update to 4.99 2024-10-08 22:58:59 -07:00
bsd.destdir.mk
bsd.gcc.mk
bsd.gecko.mk www/firefox www/firefox-esr mail/thunderbird: set wxneeded 2024-09-25 23:43:22 +02:00
bsd.java.mk
bsd.licenses.db.mk
bsd.licenses.mk
bsd.local.mk
bsd.ocaml.mk
bsd.options.desc.mk Mk/bsd.options.desc.mk: Update MPICH_DESC 2024-09-09 02:40:25 +08:00
bsd.options.mk
bsd.port.mk Mk/bsd.port.mk: Add MACHINE_ARCH to WRK_ENV 2024-10-11 11:04:54 +02:00
bsd.port.options.mk
bsd.port.post.mk
bsd.port.pre.mk
bsd.port.subdir.mk
bsd.sanity.mk
bsd.sites.mk Mk/bsd.sites.mk: Update IDSOFTWARE entries 2024-10-06 22:15:46 +02:00
bsd.wx.mk