algol68g fails to build on riscv64, with a nasty error. BUILD_UNIX is not defined, resulting in a compile error in unix.c.
I'm not sure why you explicitely added arm64 and armv7 but I see no reason to fix the build on some archs only. FWIW the test results on riscv64 look good, 3 tests failing out of 23 (1 on amd64). The two additional tests that fail: --8<-- a68g: runtime error: 1: time limit exceeded, in VOID loop-clause starting at "TO" in line 114. FAIL: test-set/13-math.a68 This test will take a long time ... [./test-set/14-mersenne.a68] 28 DO s := (s * s - 2) MOD cand 1 a68g: runtime error: 1: time limit exceeded, in LONG LONG INT closed-clause starting at "(" in this line. FAIL: test-set/14-mersenne.a68 -->8-- ok? Index: patches/patch-configure_ac =================================================================== RCS file: /cvs/ports/lang/algol68g/patches/patch-configure_ac,v retrieving revision 1.2 diff -u -p -r1.2 patch-configure_ac --- patches/patch-configure_ac 13 Mar 2022 21:03:42 -0000 1.2 +++ patches/patch-configure_ac 24 Mar 2022 09:06:28 -0000 @@ -1,4 +1,4 @@ -Enable build on arm64 and armv7 +Enable build on all archs Build the compiler Mention that we are IEEE 754 compliant Remove hardcoded optimization flags @@ -12,7 +12,7 @@ Index: configure.ac # OpenBSD. # -*86-*-openbsd* | *86_64-*-openbsd*) -+*86-*-openbsd* | *86_64-*-openbsd* | arm*-*-openbsd* | aarch*-*-openbsd*) ++*-*-openbsd*) AC_DEFINE(BUILD_BSD, 1, [Define this if OpenBSD was detected]) - AC_MSG_WARN([configuring interpreter-only]) + AC_DEFINE(HAVE_IEEE_754, 1, [Define this if IEEE_754 compliant]) -- jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE