opnsense-ports/sysutils/flashrom/files/patch-meson.build
Franco Fichtner e1af1fd976 sysutils/flashrom: partially sync with upstream
Taken from: FreeBSD
2024-02-13 12:48:23 +01:00

11 lines
536 B
Text

--- meson.build.orig 2023-04-27 13:51:02 UTC
+++ meson.build
@@ -234,7 +234,7 @@ programmer = {
},
'internal' : {
'systems' : systems_hwaccess + ['linux'],
- 'cpu_families' : (host_machine.system() == 'linux' ? [host_machine.cpu_family()] : ['x86', 'x86_64']),
+ 'cpu_families' : (host_machine.system() in ['linux', 'freebsd'] ? [host_machine.cpu_family()] : ['x86', 'x86_64']),
'deps' : [ libpci ],
'groups' : [ group_internal ],
'srcs' : (host_machine.cpu_family() in ['x86', 'x86_64'] ? files(