git: df50dd485a41 - main - archivers/py-bup: Fix build with python-3.11
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 03 Feb 2024 12:40:35 UTC
The branch main has been updated by wen: URL: https://cgit.FreeBSD.org/ports/commit/?id=df50dd485a4184267a3024441ccf64727c4d7880 commit df50dd485a4184267a3024441ccf64727c4d7880 Author: Wen Heping <wen@FreeBSD.org> AuthorDate: 2024-02-03 12:38:08 +0000 Commit: Wen Heping <wen@FreeBSD.org> CommitDate: 2024-02-03 12:39:47 +0000 archivers/py-bup: Fix build with python-3.11 PR: 275494 Approved by: portmgr(blanket, fix build) --- archivers/py-bup/files/patch-config_configure | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/archivers/py-bup/files/patch-config_configure b/archivers/py-bup/files/patch-config_configure index 71df44071322..1b2cb5dfe36d 100644 --- a/archivers/py-bup/files/patch-config_configure +++ b/archivers/py-bup/files/patch-config_configure @@ -1,9 +1,10 @@ ---- config/configure.orig 2021-01-09 22:11:10 UTC +--- config/configure.orig 2024-02-03 07:23:55 UTC +++ config/configure -@@ -66,6 +66,7 @@ expr "$MAKE_VERSION" '>=' '3.81' || AC_FAIL "ERROR: $M +@@ -66,6 +66,8 @@ bup_python="$(type -p "$PYTHON")" AC_SUB bup_make "$MAKE" bup_python="$(type -p "$PYTHON")" ++test -z "$bup_python" && bup_python="$(bup_find_prog python3.11 '')" +test -z "$bup_python" && bup_python="$(bup_find_prog python3.9 '')" test -z "$bup_python" && bup_python="$(bup_find_prog python3.8 '')" test -z "$bup_python" && bup_python="$(bup_find_prog python3.7 '')"