You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
2e8902670c
* ruby31: update ppc patch, unbreak build * ruby-devel: update to current upstream
62 lines
1.7 KiB
Diff
62 lines
1.7 KiB
Diff
--- configure.orig 2022-11-27 23:20:23.000000000 +0800
|
|
+++ configure 2022-11-27 23:52:56.000000000 +0800
|
|
@@ -9328,6 +9328,8 @@
|
|
ARCH_FLAG=-m64 ;; #(
|
|
i[3-6]86) :
|
|
ARCH_FLAG=-m32 ;; #(
|
|
+ powerpc|ppc) :
|
|
+ ARCH_FLAG=-m32 ;; #(
|
|
*) :
|
|
as_fn_error $? "unknown target architecture: $target_archs" "$LINENO" 5
|
|
;;
|
|
@@ -9428,6 +9430,8 @@
|
|
ARCH_FLAG=-m64 ;; #(
|
|
i[3-6]86) :
|
|
ARCH_FLAG=-m32 ;; #(
|
|
+ powerpc|ppc) :
|
|
+ ARCH_FLAG=-m32 ;; #(
|
|
*) :
|
|
as_fn_error $? "unknown target architecture: $target_archs" "$LINENO" 5
|
|
;;
|
|
@@ -25441,7 +25445,7 @@
|
|
|
|
|
|
case "${target_cpu}-${target_os}:${target_archs}" in #(
|
|
- powerpc-darwin*) :
|
|
+ powerpc*-darwin*) :
|
|
|
|
|
|
ALLOCA=\${LIBOBJDIR}alloca.${ac_objext}
|
|
@@ -25456,13 +25460,13 @@
|
|
|
|
ALLOCA=\${LIBOBJDIR}alloca.${ac_objext}
|
|
|
|
- printf "#if %s\n" "defined __powerpc__" >>confdefs.h
|
|
+ printf "#if %s\n" "defined __POWERPC__" >>confdefs.h
|
|
printf "%s\n" "#define C_ALLOCA 1" >>confdefs.h
|
|
- printf "#endif /* %s */\n" "defined __powerpc__" >>confdefs.h
|
|
+ printf "#endif /* %s */\n" "defined __POWERPC__" >>confdefs.h
|
|
|
|
printf "#if %s\n" "defined __powerpc__" >>confdefs.h
|
|
printf "%s\n" "#define alloca alloca" >>confdefs.h
|
|
- printf "#endif /* %s */\n" "defined __powerpc__" >>confdefs.h
|
|
+ printf "#endif /* %s */\n" "defined __POWERPC__" >>confdefs.h
|
|
|
|
;; #(
|
|
*) :
|
|
@@ -29462,6 +29466,14 @@
|
|
|
|
coroutine_type=arm64
|
|
;; #(
|
|
+ powerpc-darwin*|ppc-darwin*) :
|
|
+
|
|
+ coroutine_type=ppc
|
|
+ ;; #(
|
|
+ powerpc64-darwin*|ppc64-darwin*) :
|
|
+
|
|
+ coroutine_type=ppc64
|
|
+ ;; #(
|
|
x*64-linux*) :
|
|
|
|
case "$ac_cv_sizeof_voidp" in #(
|