base commit: r522257 diff --git a/Mk/Uses/python.mk b/Mk/Uses/python.mk index 0d10c42bbb87..9649e0386908 100644 --- a/Mk/Uses/python.mk +++ b/Mk/Uses/python.mk @@ -452,24 +452,20 @@ PKGNAMESUFFIX= ${PYTHON_PKGNAMESUFFIX} # - If using a version restriction (USES=python:3.5+), from the first # acceptable default Python version. # - From PYTHON_DEFAULT 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 # try to find a different one, if the passed version fits into # the supported version range. PYTHON_VERSION?= python${_PYTHON_VERSION} -.if !defined(PYTHON_NO_DEPENDS) && \ - ${PYTHON_VERSION} != python${PYTHON_DEFAULT} -DEPENDS_ARGS+= PYTHON_VERSION=${PYTHON_VERSION} -.endif # NOTE: # # PYTHON_VERSION will hold whatever is passed down the dependency chain. # If a user runs `make PYTHON_VERSION=python3.5, PYTHON_VERSION will be # set to 'python3.5'. A port however may require a different version, # which is stored (above) in _PYTHON_VERSION. # Every python bit below hence should use python${_PYTHON_VERSION}, since # this is the value, the _port_ requires #