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 Mk/Features: WITH_PIE - add cmake support 2024-05-14 10:39:24 +02:00
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 Mk/bsd.ccache.mk: Add CCACHE_ENABLED variable for ports' convenience 2022-09-12 00:47:54 -07:00
bsd.commands.mk Mk/*: Build with a clean environment 2024-02-29 21:21:37 +01:00
bsd.default-versions.mk editors/lazarus-devel: Update to 4.99 2024-10-08 22:58:59 -07:00
bsd.destdir.mk cleanup: remove 'Created by' lines 2022-07-20 21:40:02 +02:00
bsd.gcc.mk Mk: unregister expired lang/gcc9 2024-06-30 14:51:06 +02:00
bsd.gecko.mk www/firefox www/firefox-esr mail/thunderbird: set wxneeded 2024-09-25 23:43:22 +02:00
bsd.java.mk Mk/*: Build with a clean environment 2024-02-29 21:21:37 +01:00
bsd.licenses.db.mk cleanup: remove 'Created by' lines 2022-07-20 21:40:02 +02:00
bsd.licenses.mk component: add SUBPACKAGES 2024-01-01 22:58:53 +01:00
bsd.local.mk Mk/bsd.local.mk: Remove accidental addition from previous commit 2023-07-11 11:34:51 -05:00
bsd.ocaml.mk framework: cleanup conditional-indentations in Mk/ 2022-04-24 12:00:20 +02:00
bsd.options.desc.mk Mk/bsd.options.desc.mk: Update MPICH_DESC 2024-09-09 02:40:25 +08:00
bsd.options.mk mail/mlmmj: reduce the number of dependencies necessary to build 2024-06-17 10:35:03 +02:00
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 cleanup: remove 'Created by' lines 2022-07-20 21:40:02 +02:00
bsd.port.post.mk
bsd.port.pre.mk
bsd.port.subdir.mk Mk/*: unconditionally use .MAKE.UID and .MAKE.GID 2024-01-15 17:17:05 +01:00
bsd.sanity.mk Mk/**ldap.mk: Convert USE_LDAP to USES=ldap 2023-02-08 04:53:56 -06:00
bsd.sites.mk Mk/bsd.sites.mk: Update IDSOFTWARE entries 2024-10-06 22:15:46 +02:00
bsd.wx.mk Mk/bsd.wx.mk: extend GTK flavor support over both wxWidgets versions. 2024-05-23 09:26:24 +00:00