Support arm64 coroutines. Set correct shared library name. Override the arch setting to remove OpenBSD version from it, so ports don't have to be bumped when OpenBSD version changes. Index: configure --- configure.orig +++ configure @@ -29567,6 +29567,10 @@ esac coroutine_type=x86 ;; #( + aarch64-openbsd*) : + + coroutine_type=arm64 + ;; #( *-openbsd*) : coroutine_type=pthread @@ -31827,7 +31831,7 @@ fi ;; #( openbsd*|mirbsd*) : - LIBRUBY_SO='lib$(RUBY_SO_NAME).$(SOEXT).$(MAJOR).'`expr ${MINOR} \* 10 + ${TEENY}` + LIBRUBY_SO='lib$(RUBY_SO_NAME).so.'${LIBruby31_VERSION} ;; #( solaris*) : @@ -33529,7 +33533,7 @@ then : else $as_nop - arch="${target_cpu}-${target_os}" + arch="${target_cpu}-openbsd" fi printf "%s\n" "#define RUBY_PLATFORM \"$arch\"" >>confdefs.h