git: cc29977926d8 - 2026Q2 - lang/python314t: add
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 13 Jun 2026 14:02:53 UTC
The branch 2026Q2 has been updated by vishwin:
URL: https://cgit.FreeBSD.org/ports/commit/?id=cc29977926d85352150de16b606a2adb562f9c15
commit cc29977926d85352150de16b606a2adb562f9c15
Author: Charlie Li <vishwin@FreeBSD.org>
AuthorDate: 2026-06-12 19:20:30 +0000
Commit: Charlie Li <vishwin@FreeBSD.org>
CommitDate: 2026-06-13 14:02:21 +0000
lang/python314t: add
Event: Works Must Run
(cherry picked from commit 95c27eb79f5886397bbbbc6be84b2dac1dbb2b18)
---
Mk/Uses/python.mk | 2 +-
lang/Makefile | 1 +
lang/python314t/Makefile | 12 ++++++++++++
3 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/Mk/Uses/python.mk b/Mk/Uses/python.mk
index e96487f30f83..477b123460bc 100644
--- a/Mk/Uses/python.mk
+++ b/Mk/Uses/python.mk
@@ -339,7 +339,7 @@ ZEROREGS_UNSAFE= yes
# What Python version and what Python interpreters are currently supported?
# When adding a version, please keep the comment in
# Mk/bsd.default-versions.mk in sync.
-_PYTHON_VERSIONS= 3.11 3.12 3.13 3.13t 3.14 3.10 2.7 # preferred first
+_PYTHON_VERSIONS= 3.11 3.12 3.13 3.13t 3.14 3.14t 3.10 2.7 # preferred first
_PYTHON_PORTBRANCH= 3.11 # ${_PYTHON_VERSIONS:[1]}
_PYTHON_BASECMD= ${LOCALBASE}/bin/python
_PYTHON_RELPORTDIR= lang/python
diff --git a/lang/Makefile b/lang/Makefile
index 5c110734f632..ef4d658209ba 100644
--- a/lang/Makefile
+++ b/lang/Makefile
@@ -309,6 +309,7 @@
SUBDIR += python313
SUBDIR += python313t
SUBDIR += python314
+ SUBDIR += python314t
SUBDIR += qmasm
SUBDIR += quickjs
SUBDIR += quickjs-ng
diff --git a/lang/python314t/Makefile b/lang/python314t/Makefile
new file mode 100644
index 000000000000..6c49f5abad55
--- /dev/null
+++ b/lang/python314t/Makefile
@@ -0,0 +1,12 @@
+CONFIGURE_ARGS+= --disable-gil
+
+THREADFLAG= t
+LDFLAGS+= -lkvm
+
+MASTERDIR= ${.CURDIR}/../python314
+CONFLICTS_INSTALL= python314
+
+# https://github.com/python/cpython/issues/133171
+OPTIONS_EXCLUDE+= JIT
+
+.include "${MASTERDIR}/Makefile"