You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
b6a71e1e88
See: https://www.ruby-lang.org/en/news/2023/03/30/ruby-2-7-8-released/ Also converts the former reinplace-based patch for 'gem' versioning to a normal patch, as previously recommended. TESTED: Built successfully -universal on OSX 10.4-10.5 ppc, 10.4-10.6 i386, 10.5-10.15 x86_64, and 11.x-13.x arm64. Also successfully built +universal in all such cases except 10.4 (where +universal dependencies failed to build), and 10.14-10.15 (where +universal is ignored). Also built all variants for 10.9 x86_64 and 11.x-13.x arm64.
40 lines
992 B
Diff
40 lines
992 B
Diff
--- configure.orig 2023-03-30 05:34:10.000000000 -0700
|
|
+++ configure 2023-04-24 16:24:37.000000000 -0700
|
|
@@ -7676,6 +7676,8 @@ case "$target_archs" in #(
|
|
ARCH_FLAG=-m64 ;; #(
|
|
i[3-6]86) :
|
|
ARCH_FLAG=-m32 ;; #(
|
|
+ ppc) :
|
|
+ ARCH_FLAG=-m32 ;; #(
|
|
*) :
|
|
as_fn_error $? "unknown target architecture: $target_archs" "$LINENO" 5
|
|
;;
|
|
@@ -7774,6 +7776,8 @@ case "$target_cpu" in #(
|
|
ARCH_FLAG=-m64 ;; #(
|
|
i[3-6]86) :
|
|
ARCH_FLAG=-m32 ;; #(
|
|
+ ppc) :
|
|
+ ARCH_FLAG=-m32 ;; #(
|
|
*) :
|
|
as_fn_error $? "unknown target architecture: $target_archs" "$LINENO" 5
|
|
;;
|
|
@@ -27661,6 +27665,18 @@ printf %s "checking native coroutine imp
|
|
|
|
rb_cv_coroutine=arm64
|
|
;; #(
|
|
+ *86-darwin*) :
|
|
+
|
|
+ rb_cv_coroutine=x86
|
|
+ ;; #(
|
|
+ ppc*-darwin8*) :
|
|
+
|
|
+ rb_cv_coroutine=copy
|
|
+ ;; #(
|
|
+ universal-darwin8*) :
|
|
+
|
|
+ rb_cv_coroutine=copy
|
|
+ ;; #(
|
|
x*64-linux*) :
|
|
|
|
case "$ac_cv_sizeof_voidp" in #(
|