mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 03:30:05 +02:00
python: fix config.guess for non-x86 arch
* Should fix build on arm, arm64, riscv64, etc
This commit is contained in:
@@ -902,3 +902,35 @@ index b7c6b1b..84bb449 100644
|
||||
--
|
||||
2.42.1
|
||||
|
||||
From 7cc64ef6b93717111109443ef8f51b932f1a33f3 Mon Sep 17 00:00:00 2001
|
||||
From: Alexander von Gluck IV <kallisti5@unixzen.com>
|
||||
Date: Thu, 14 Mar 2024 12:54:33 -0500
|
||||
Subject: [PATCH] config.guess: Update to universal haiku arch guessing
|
||||
|
||||
* Matches upstream config.guess as of 2022, python just
|
||||
ships a really old one
|
||||
---
|
||||
config.guess | 7 +++++--
|
||||
1 file changed, 5 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/config.guess b/config.guess
|
||||
index e81d3ae..366429c 100755
|
||||
--- a/config.guess
|
||||
+++ b/config.guess
|
||||
@@ -1364,8 +1364,11 @@ EOF
|
||||
BePC:Haiku:*:*) # Haiku running on Intel PC compatible.
|
||||
GUESS=i586-pc-haiku
|
||||
;;
|
||||
- x86_64:Haiku:*:*)
|
||||
- GUESS=x86_64-unknown-haiku
|
||||
+ ppc:Haiku:*:*)
|
||||
+ GUESS=powerpc-apple-haiku
|
||||
+ ;;
|
||||
+ *:Haiku:*:*)
|
||||
+ GUESS=$UNAME_MACHINE-unknown-haiku
|
||||
;;
|
||||
SX-4:SUPER-UX:*:*)
|
||||
GUESS=sx4-nec-superux$UNAME_RELEASE
|
||||
--
|
||||
2.44.0
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ OSI-approved open source license."
|
||||
HOMEPAGE="https://www.python.org"
|
||||
LICENSE="Python"
|
||||
COPYRIGHT="1990-2023 Python Software Foundation"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://www.python.org/ftp/python/$portVersion/Python-${portVersion}.tar.xz"
|
||||
CHECKSUM_SHA256="be28112dac813d2053545c14bf13a16401a21877f1a69eb6ea5d84c4a0f3d870"
|
||||
SOURCE_DIR="Python-$portVersion"
|
||||
|
||||
Reference in New Issue
Block a user