blob: 3f58a7762bb9a2a8a5856d7db0bddecb7ef71079 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
From c275a793b1c784b77c35b5da421292e61c873180 Mon Sep 17 00:00:00 2001
From: Aleksy Grabowski <hurufu@gmail.com>
Date: Tue, 15 Oct 2024 10:24:15 +0200
Subject: [PATCH] Fallback to python3 if specific version wasn't found
---
packages/xsbpy/configure | 2 +-
packages/xsbpy/m4/m4_ax_python.m4 | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/packages/xsbpy/configure b/packages/xsbpy/configure
index 3367a43..3012992 100755
--- a/packages/xsbpy/configure
+++ b/packages/xsbpy/configure
@@ -2022,7 +2022,7 @@ $as_echo "" >&6; }
# ac_preferred_python may be set by configure so the below will select
# that version of Python
-for python in $ac_preferred_python python3.11m python3.11 python3.10m python3.10 python3.9m python3.9 python3.8m python3.8 python3.7m python3.7 python3.6m python3.6 python3.5m python3.5 python3.4m python3.4 python3.3m python3.3 python3.2m python3.2 python3.1m python3.1 python3.0m python3.0 ; do
+for python in $ac_preferred_python python3.11m python3.11 python3.10m python3.10 python3.9m python3.9 python3.8m python3.8 python3.7m python3.7 python3.6m python3.6 python3.5m python3.5 python3.4m python3.4 python3.3m python3.3 python3.2m python3.2 python3.1m python3.1 python3.0m python3.0 python3; do
for ac_prog in $python
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
diff --git a/packages/xsbpy/m4/m4_ax_python.m4 b/packages/xsbpy/m4/m4_ax_python.m4
index d3924c0..272e703 100644
--- a/packages/xsbpy/m4/m4_ax_python.m4
+++ b/packages/xsbpy/m4/m4_ax_python.m4
@@ -63,7 +63,7 @@ AC_MSG_RESULT([])
# ac_preferred_python may be set by configure so the below will select
# that version of Python
-for python in $ac_preferred_python python3.11m python3.11 python3.10m python3.10 python3.9m python3.9 python3.8m python3.8 python3.7m python3.7 python3.6m python3.6 python3.5m python3.5 python3.4m python3.4 python3.3m python3.3 python3.2m python3.2 python3.1m python3.1 python3.0m python3.0 ; do
+for python in $ac_preferred_python python3.11m python3.11 python3.10m python3.10 python3.9m python3.9 python3.8m python3.8 python3.7m python3.7 python3.6m python3.6 python3.5m python3.5 python3.4m python3.4 python3.3m python3.3 python3.2m python3.2 python3.1m python3.1 python3.0m python3.0 python3; do
AC_CHECK_PROGS(PYTHON_BIN, [$python])
ax_python_bin=$PYTHON_BIN
if test "x$ax_python_bin" != "x"; then
--
2.47.0
|