graphics/goocanvas3: Fix build with python-3.11

PR:		275494
Approved by:	portmgr(blanket, fix build)
2024Q2
Wen Heping 2024-01-24 11:59:40 +00:00
parent 99e578ae99
commit 2a68ac754e
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- configure.orig 2024-01-24 08:43:28 UTC
+++ configure
@@ -16949,7 +16949,7 @@ fi
# Find any Python interpreter.
if test -z "$PYTHON"; then
- for ac_prog in python python2 python3 python3.9 python3.8 python3.7 python3.6 python3.5 python3.4 python3.3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0
+ for ac_prog in python python2 python3 python3.11 python3.9 python3.8 python3.7 python3.6 python3.5 python3.4 python3.3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2