View | Details | Raw Unified | Return to bug 262109 | Differences between
and this patch

Collapse All | Expand All

(-)b/Mk/Uses/python.mk (+6 lines)
Lines 652-657 CONFIGURE_ENV+= PYTHON="${PYTHON_CMD}" Link Here
652
# By default CMake picks up the highest available version of Python package.
652
# By default CMake picks up the highest available version of Python package.
653
# Enforce the version required by the port or the default.
653
# Enforce the version required by the port or the default.
654
CMAKE_ARGS+=	-DPython_ADDITIONAL_VERSIONS=${PYTHON_VER}
654
CMAKE_ARGS+=	-DPython_ADDITIONAL_VERSIONS=${PYTHON_VER}
655
.if ${PYTHON_MAJOR_VER} == 3
656
CMAKE_ARGS+=	-DPython3_EXECUTABLE:FILEPATH="${PYTHON_CMD}"
657
.elif ${PYTHON_MAJOR_VER} == 2
658
CMAKE_ARGS+=	-DPython2_EXECUTABLE:FILEPATH="${PYTHON_CMD}"
659
.endif
660
CMAKE_ARGS+=	-DPython_EXECUTABLE:FILEPATH="${PYTHON_CMD}"
655
661
656
# Python 3rd-party modules
662
# Python 3rd-party modules
657
PYGAME=		${PYTHON_PKGNAMEPREFIX}game>0:devel/py-game@${PY_FLAVOR}
663
PYGAME=		${PYTHON_PKGNAMEPREFIX}game>0:devel/py-game@${PY_FLAVOR}

Return to bug 262109