aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWen Heping <wen@FreeBSD.org>2024-01-24 11:59:40 +0000
committerWen Heping <wen@FreeBSD.org>2024-01-24 12:01:04 +0000
commit2a68ac754e626a422caf09b3a2f515dc3961b0bb (patch)
treec8b58596f697ddc654c2d020536c98822437a4dc
parent99e578ae9912b7d235d55786ad3ba04a6ff314bd (diff)
downloadports-2a68ac754e626a422caf09b3a2f515dc3961b0bb.tar.gz
ports-2a68ac754e626a422caf09b3a2f515dc3961b0bb.zip
graphics/goocanvas3: Fix build with python-3.11
PR: 275494 Approved by: portmgr(blanket, fix build)
-rw-r--r--graphics/goocanvas3/files/patch-configure11
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/goocanvas3/files/patch-configure b/graphics/goocanvas3/files/patch-configure
new file mode 100644
index 000000000000..0fa983470e9a
--- /dev/null
+++ b/graphics/goocanvas3/files/patch-configure
@@ -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