mirror of
https://git.freebsd.org/ports.git
synced 2025-05-15 16:51:52 -04:00
- inform mbuild CPU type detection script about the existence of this newfangled architecture. - pass TZ=UTC to date(1) while generating distfile name to avoid off by one error on the first day of the month in time zones west of Greenwich. PR: 267020 Submitted by: maintainer MFH: 2022Q4
13 lines
405 B
Python
13 lines
405 B
Python
--- mbuild/mbuild/env.py.orig 2021-04-16 20:40:24 UTC
|
|
+++ mbuild/mbuild/env.py
|
|
@@ -1237,6 +1237,10 @@ class env_t(object):
|
|
return 'ia32'
|
|
elif name in ['aarch64', 'arm64']:
|
|
return 'aarch64'
|
|
+ elif name[0:3] == 'arm':
|
|
+ return 'arm'
|
|
+ elif name[0:5] == 'riscv':
|
|
+ return 'riscv'
|
|
else:
|
|
die("Unknown cpu " + name)
|
|
|