Changeset View
Changeset View
Standalone View
Standalone View
Mk/Uses/python.mk
| Show First 20 Lines • Show All 657 Lines • ▼ Show 20 Lines | |||||
| .endif | .endif | ||||
| .if ${PYTHON_REL} < 3200 | .if ${PYTHON_REL} < 3200 | ||||
| PY_FUTURES= ${PYTHON_PKGNAMEPREFIX}futures>0:devel/py-futures@${PY_FLAVOR} | PY_FUTURES= ${PYTHON_PKGNAMEPREFIX}futures>0:devel/py-futures@${PY_FLAVOR} | ||||
| .else | .else | ||||
| PY_FUTURES= | PY_FUTURES= | ||||
| .endif | .endif | ||||
| .if ${PYTHON_REL} < 3000 | PY_BOOST_LIB= boost_python${PYTHON_SUFFIX} | ||||
| PY_BOOST_LIB= boost_python | |||||
| .else | |||||
| PY_BOOST_LIB= boost_python3 | |||||
| .endif | |||||
| PY_BOOST= lib${PY_BOOST_LIB}.so:devel/boost-python-libs@${PY_FLAVOR} | PY_BOOST= lib${PY_BOOST_LIB}.so:devel/boost-python-libs@${PY_FLAVOR} | ||||
| # dependencies | # dependencies | ||||
| .for _stage in PATCH BUILD RUN TEST | .for _stage in PATCH BUILD RUN TEST | ||||
| . if defined(_PYTHON_${_stage}_DEP) | . if defined(_PYTHON_${_stage}_DEP) | ||||
| ${_stage}_DEPENDS+= ${PYTHON_CMD}:${PYTHON_PORTSDIR} | ${_stage}_DEPENDS+= ${PYTHON_CMD}:${PYTHON_PORTSDIR} | ||||
| . endif | . endif | ||||
| .endfor | .endfor | ||||
| ▲ Show 20 Lines • Show All 54 Lines • Show Last 20 Lines | |||||