summaryrefslogtreecommitdiff
path: root/lang/ruby32/files/patch-configure.ac
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2022-08-30 14:37:48 +0200
committerBaptiste Daroussin <bapt@FreeBSD.org>2022-08-30 14:46:40 +0200
commitc28714cbc837128b141f19fb6e52b770fd641b9b (patch)
treee82f9ce3f2b4f7404d34a6d9787b354b48e87573 /lang/ruby32/files/patch-configure.ac
parentnet/pjsip: accept x86_64-portbld-freebsdX (diff)
lang/ruby*: add a patch to keep amd64-freebsd* as arch
In preparation for the update of config.guess/config.sub, where amd64-portbld-freebsd14.0 is reported as x86_64-portbld-freebsd14.0, Add a patch to keep the arch specific directory on amd64 being named amd64
Diffstat (limited to 'lang/ruby32/files/patch-configure.ac')
-rw-r--r--lang/ruby32/files/patch-configure.ac8
1 files changed, 8 insertions, 0 deletions
diff --git a/lang/ruby32/files/patch-configure.ac b/lang/ruby32/files/patch-configure.ac
index 7740d9d0a1c3..af75b46cc98d 100644
--- a/lang/ruby32/files/patch-configure.ac
+++ b/lang/ruby32/files/patch-configure.ac
@@ -26,3 +26,11 @@
AS_IF([test "$rb_cv_binary_elf" != "yes" ], [
LIBRUBY_SO="$LIBRUBY_SO.\$(TEENY)"
LIBRUBY_ALIASES=''
+@@ -4150,6 +4151,7 @@ AS_IF([test "${universal_binary-no}" = yes ], [
+ arch="${target_cpu}-mingw-ucrt"
+ ], [
+ arch="${target_cpu}-${target_os}"
++ AS_CASE(["$target_cpu-$target_os"], [x86_64-freebsd*],[arch=amd64-${target_os}])
+ ])
+ AC_DEFINE_UNQUOTED(RUBY_PLATFORM, "$arch")
+ ])