Index: Mk/Uses/python.mk =================================================================== --- Mk/Uses/python.mk +++ Mk/Uses/python.mk @@ -463,11 +463,7 @@ .endif # To avoid having dependencies with @ and empty flavor: -.if empty(FLAVOR) -PY_FLAVOR= ${PYTHON_VERSION:S/^python/py/:S/.//} -.else -PY_FLAVOR= ${FLAVOR} -.endif +PY_FLAVOR= py${_PYTHON_VERSION:S/.//} # Pass PYTHON_VERSION down the dependency chain. This ensures that # port A -> B -> C all will use the same python version and do not