This gets github.com/9fans/plan9port building under FreeBSD 12.1
on arm64. Dunno if it breaks the other arm64 platforms ...
diff --git a/dist/buildmk b/dist/buildmk
index 07b223ac..65137556 100755
--- a/dist/buildmk
+++ b/dist/buildmk
@@ -7,6 +7,7 @@ OBJTYPE=`(uname -m -p 2>/dev/null || uname -m) | sed '
s;.*i86pc.*;386;;
s;.*amd64.*;x86_64;;
s;.*x86_64.*;x86_64;;
+ s;.*arm64.*;arm64;;
s;.*armv.*;arm;g;
s;.*powerpc.*;power;g;
s;.*PowerMacintosh.*;power;g;
------------------------------------------
9fans: 9fans
Permalink:
https://9fans.topicbox.com/groups/9fans/T131571e9f91f8dc0-M82e6a808f27686d236210f72
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription