commit: e7536eccab56e11daaf6d01c3a7ae80143160a9a Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Sun Nov 8 08:30:37 2015 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Wed Nov 11 10:21:41 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7536ecc
python-utils-r1.eclass: Reuse PYTHON_CONFIG in python_wrapper_setup() eclass/python-utils-r1.eclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass index 68926ab..33cee1b 100644 --- a/eclass/python-utils-r1.eclass +++ b/eclass/python-utils-r1.eclass @@ -877,8 +877,8 @@ python_wrapper_setup() { rm -f "${workdir}"/bin/2to3 || die rm -f "${workdir}"/pkgconfig/python{,2,3}.pc || die - local EPYTHON PYTHON - python_export "${impl}" EPYTHON PYTHON + local EPYTHON PYTHON PYTHON_CONFIG + python_export "${impl}" EPYTHON PYTHON PYTHON_CONFIG local pyver pyother if python_is_python3; then @@ -906,7 +906,7 @@ python_wrapper_setup() { if [[ ${EPYTHON} == python* ]]; then cat > "${workdir}/bin/python-config" <<-_EOF_ #!/bin/sh - exec "${PYTHON}-config" "\${@}" + exec "${PYTHON_CONFIG}" "\${@}" _EOF_ cp "${workdir}/bin/python-config" \ "${workdir}/bin/python${pyver}-config" || die