git: 87fec07b643d - main - devel/automake: Support python 3.10+
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 14 Jun 2024 13:13:22 UTC
The branch main has been updated by tijl:
URL: https://cgit.FreeBSD.org/ports/commit/?id=87fec07b643dbb06f29781ee0948c060566ba6bc
commit 87fec07b643dbb06f29781ee0948c060566ba6bc
Author: Tijl Coosemans <tijl@FreeBSD.org>
AuthorDate: 2024-06-13 17:44:03 +0000
Commit: Tijl Coosemans <tijl@FreeBSD.org>
CommitDate: 2024-06-14 13:08:44 +0000
devel/automake: Support python 3.10+
Add a patch that combines the following upstream commits:
https://git.savannah.gnu.org/cgit/automake.git/commit/?id=930a9a73f4bb7
https://git.savannah.gnu.org/cgit/automake.git/commit/?id=3cd8f54560c1e
https://git.savannah.gnu.org/cgit/automake.git/commit/?id=6b4304c121618
PR: 279687
---
devel/automake/Makefile | 2 +-
devel/automake/files/patch-m4_python.m4 | 16 ++++++++++++++++
2 files changed, 17 insertions(+), 1 deletion(-)
diff --git a/devel/automake/Makefile b/devel/automake/Makefile
index 725b0cb49f32..9a9457bdcf2b 100644
--- a/devel/automake/Makefile
+++ b/devel/automake/Makefile
@@ -1,6 +1,6 @@
PORTNAME= automake
PORTVERSION= 1.16.5
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= GNU
diff --git a/devel/automake/files/patch-m4_python.m4 b/devel/automake/files/patch-m4_python.m4
new file mode 100644
index 000000000000..0230c1d9a9a5
--- /dev/null
+++ b/devel/automake/files/patch-m4_python.m4
@@ -0,0 +1,16 @@
+--- m4/python.m4.orig 2021-10-04 02:51:12 UTC
++++ m4/python.m4
+@@ -37,9 +37,12 @@ AC_DEFUN([AM_PATH_PYTHON],
+ dnl Find a Python interpreter. Python versions prior to 2.0 are not
+ dnl supported. (2.0 was released on October 16, 2000).
+ m4_define_default([_AM_PYTHON_INTERPRETER_LIST],
+-[python python2 python3 dnl
++[python python3 dnl
++ python3.20 python3.19 python3.18 python3.17 python3.16 dnl
++ python3.15 python3.14 python3.13 python3.12 python3.11 python3.10 dnl
+ python3.9 python3.8 python3.7 python3.6 python3.5 python3.4 python3.3 dnl
+ python3.2 python3.1 python3.0 dnl
++ python2 dnl
+ python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 dnl
+ python2.0])
+