1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 05:27:43 +00:00

Ports/python3: Update Python to 3.11.0

This now requires `--host` and `--with-build-python` to be passed to the
configure script when cross compiling; the former we simply do like in
many other package.sh scripts as well, the latter we point to `python3`,
which is expected to match the port's version anyway.
This commit is contained in:
Linus Groh 2022-10-25 12:29:28 +01:00
parent 35ec636b5d
commit edf3aee4df
9 changed files with 28 additions and 28 deletions

View file

@ -12,10 +12,10 @@ As usual, make the `configure` script recognize Serenity. Also set
2 files changed, 16 insertions(+), 2 deletions(-)
diff --git a/configure b/configure
index 19f1bd5..340e76e 100755
index 784f8d306092afb980dc7730eccaac1b134c52df..143ff27f07a8605510bca258bee3e621c95d34b8 100755
--- a/configure
+++ b/configure
@@ -3335,6 +3335,9 @@ then
@@ -3811,6 +3811,9 @@ then
# a lot of different things including 'define_xopen_source'
# in the case statement below.
case "$host" in
@ -25,7 +25,7 @@ index 19f1bd5..340e76e 100755
*-*-linux-android*)
ac_sys_system=Linux-android
;;
@@ -3373,6 +3376,7 @@ then
@@ -3855,6 +3858,7 @@ then
linux*) MACHDEP="linux";;
cygwin*) MACHDEP="cygwin";;
darwin*) MACHDEP="darwin";;
@ -33,7 +33,7 @@ index 19f1bd5..340e76e 100755
'') MACHDEP="unknown";;
esac
fi
@@ -3382,6 +3386,9 @@ $as_echo "\"$MACHDEP\"" >&6; }
@@ -3864,6 +3868,9 @@ $as_echo "\"$MACHDEP\"" >&6; }
if test "$cross_compiling" = yes; then
case "$host" in
@ -43,7 +43,7 @@ index 19f1bd5..340e76e 100755
*-*-linux*)
case "$host_cpu" in
arm*)
@@ -9886,7 +9893,7 @@ then
@@ -10834,7 +10841,7 @@ then
LINKFORSHARED="-Wl,-E -Wl,+s";;
# LINKFORSHARED="-Wl,-E -Wl,+s -Wl,+b\$(BINLIBDEST)/lib-dynload";;
Linux-android*) LINKFORSHARED="-pie -Xlinker -export-dynamic";;
@ -53,10 +53,10 @@ index 19f1bd5..340e76e 100755
Darwin/*)
LINKFORSHARED="$extra_undefs -framework CoreFoundation"
diff --git a/configure.ac b/configure.ac
index 763fc69..8d4c0af 100644
index ab5e1de6fabd38ad468ad57392b232de2101011d..17f93fdf69007f322c29b4fbdb4fe16e75ca2520 100644
--- a/configure.ac
+++ b/configure.ac
@@ -391,6 +391,9 @@ then
@@ -536,6 +536,9 @@ then
# a lot of different things including 'define_xopen_source'
# in the case statement below.
case "$host" in
@ -66,7 +66,7 @@ index 763fc69..8d4c0af 100644
*-*-linux-android*)
ac_sys_system=Linux-android
;;
@@ -429,6 +432,7 @@ then
@@ -580,6 +583,7 @@ then
linux*) MACHDEP="linux";;
cygwin*) MACHDEP="cygwin";;
darwin*) MACHDEP="darwin";;
@ -74,7 +74,7 @@ index 763fc69..8d4c0af 100644
'') MACHDEP="unknown";;
esac
fi
@@ -437,6 +441,9 @@ AC_MSG_RESULT("$MACHDEP")
@@ -588,6 +592,9 @@ AC_MSG_RESULT("$MACHDEP")
AC_SUBST(_PYTHON_HOST_PLATFORM)
if test "$cross_compiling" = yes; then
case "$host" in
@ -84,7 +84,7 @@ index 763fc69..8d4c0af 100644
*-*-linux*)
case "$host_cpu" in
arm*)
@@ -2807,7 +2814,7 @@ then
@@ -3247,7 +3254,7 @@ then
LINKFORSHARED="-Wl,-E -Wl,+s";;
# LINKFORSHARED="-Wl,-E -Wl,+s -Wl,+b\$(BINLIBDEST)/lib-dynload";;
Linux-android*) LINKFORSHARED="-pie -Xlinker -export-dynamic";;