summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2021-04-10 02:15:37 +0300
committerDmitry Marakasov <amdmi3@FreeBSD.org>2021-05-25 16:55:43 +0300
commit0729af4255a63ee299e0c63a18b6a86520a19e02 (patch)
tree15549679e2da1abfedb505860f7fc7a2ed99a300 /games
parente3a7c4e0f345292232b63f31620626b6cf6c19bf (diff)
downloadfreebsd-ports-0729af4255a63ee299e0c63a18b6a86520a19e02.zip
Mk: switch PYTHON_REL to 5 digits to support python 3.10.x
PR: 255013 Differential Revision: https://reviews.freebsd.org/D29418 Exp-run by: antoine Approved by: wen@, no objection from python@ or portmgr@
Diffstat (limited to 'games')
-rw-r--r--games/adonthell/Makefile2
-rw-r--r--games/anki/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/games/adonthell/Makefile b/games/adonthell/Makefile
index 123f6373d849..837d8ac637e4 100644
--- a/games/adonthell/Makefile
+++ b/games/adonthell/Makefile
@@ -38,7 +38,7 @@ PLIST_FILES= bin/adonthell \
# C extensions are no longer linked to libpython since Python 3.8 and onwards.
#
# See also https://bugs.python.org/issue36721 for reference.
-.if ${PYTHON_REL} >= 3800
+.if ${PYTHON_REL} >= 30800
_PY_EMBED= --embed
.endif
diff --git a/games/anki/Makefile b/games/anki/Makefile
index 0203317d0c15..70e4932cf5a1 100644
--- a/games/anki/Makefile
+++ b/games/anki/Makefile
@@ -359,7 +359,7 @@ _MY_BUILDHASH= 84dcaa86
.include <bsd.port.pre.mk>
-.if ${PYTHON_REL} < 3800
+.if ${PYTHON_REL} < 30800
_PY_SONAME= .cpython-${PYTHON_SUFFIX}m
.else
_PY_SONAME= ${PYTHON_EXT_SUFFIX}