git: 266ae5326b28 - main - games/openage: limit supported python versions range to 3.7-3.9 (+)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 03 Jun 2022 11:11:15 UTC
The branch main has been updated by fluffy: URL: https://cgit.FreeBSD.org/ports/commit/?id=266ae5326b285e6cc50acbe755f2093850ec4e22 commit 266ae5326b285e6cc50acbe755f2093850ec4e22 Author: Dima Panov <fluffy@FreeBSD.org> AuthorDate: 2022-06-03 11:09:25 +0000 Commit: Dima Panov <fluffy@FreeBSD.org> CommitDate: 2022-06-03 11:09:25 +0000 games/openage: limit supported python versions range to 3.7-3.9 (+) This fix the build with default python set to 3.10+ Approved by: portmgr blanket (fix build) --- games/openage/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/games/openage/Makefile b/games/openage/Makefile index 07fd3bf4bc06..2027a6181166 100644 --- a/games/openage/Makefile +++ b/games/openage/Makefile @@ -27,7 +27,7 @@ RUN_DEPENDS= ${PYNUMPY} \ ${PY_PILLOW} \ ${PYTHON_PKGNAMEPREFIX}pygments>0:textproc/py-pygments@${PY_FLAVOR} -USES= cmake compiler:c++17-lang eigen:3 gl ncurses:base python:3.4+ qt:5 sdl shebangfix +USES= cmake compiler:c++17-lang eigen:3 gl ncurses:base python:3.7-3.9 qt:5 sdl shebangfix SHEBANG_FILES= configure run.py.in buildsystem/cythonize.py USE_GITHUB= yes GH_ACCOUNT= SFTtech @@ -40,6 +40,8 @@ USE_LDCONFIG= yes CMAKE_OFF= WANT_BACKTRACE WANT_GPERFTOOLS_PROFILER WANT_INOTIFY CMAKE_ARGS= -DGLOBAL_CONFIG_DIR:STRING=${ETCDIR} +BINARY_ALIAS= python3=${PYTHON_CMD} + pre-configure: ${REINPLACE_CMD} -e 's|python3|${PYTHON_CMD}|' ${WRKSRC}/openage/codegen/main.py