From: Michał Górny Date: Sun, 8 Nov 2015 08:44:45 +0000 (+0100) Subject: dev-libs/libpeas: Obtain correct python-config path X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=e9dd39803ff5de5e28185f3adf841aa8d552b45d;p=gentoo.git dev-libs/libpeas: Obtain correct python-config path Use new python_get_PYTHON_CONFIG API to obtain the correct path to python-config executable. This forward-fixes compatibility with ABIFLAGS-enabled Python 3.* versions, and improves readability. --- diff --git a/dev-libs/libpeas/libpeas-1.12.1-r1.ebuild b/dev-libs/libpeas/libpeas-1.12.1-r1.ebuild index 0ed2fe513b8c..96946d1fa850 100644 --- a/dev-libs/libpeas/libpeas-1.12.1-r1.ebuild +++ b/dev-libs/libpeas/libpeas-1.12.1-r1.ebuild @@ -55,7 +55,7 @@ src_configure() { "--enable-python${v}" # it is just 'PYTHON' for py3 in the build system "PYTHON${v#3}=${PYTHON}" - "PYTHON${v}_CONFIG=${PYTHON}-config" + "PYTHON${v}_CONFIG=$(python_get_PYTHON_CONFIG)" ) } use python && python_foreach_impl python_configure diff --git a/dev-libs/libpeas/libpeas-1.14.0-r1.ebuild b/dev-libs/libpeas/libpeas-1.14.0-r1.ebuild index 3a1d0adbf094..35d29807398e 100644 --- a/dev-libs/libpeas/libpeas-1.14.0-r1.ebuild +++ b/dev-libs/libpeas/libpeas-1.14.0-r1.ebuild @@ -77,7 +77,7 @@ src_configure() { "--enable-python${v}" # it is just 'PYTHON' for py3 in the build system "PYTHON${v#3}=${PYTHON}" - "PYTHON${v}_CONFIG=${PYTHON}-config" + "PYTHON${v}_CONFIG=$(python_get_PYTHON_CONFIG)" ) } use python && python_foreach_impl python_configure diff --git a/dev-libs/libpeas/libpeas-1.14.0.ebuild b/dev-libs/libpeas/libpeas-1.14.0.ebuild index fb6958dc91a0..57c26f7caa50 100644 --- a/dev-libs/libpeas/libpeas-1.14.0.ebuild +++ b/dev-libs/libpeas/libpeas-1.14.0.ebuild @@ -65,7 +65,7 @@ src_configure() { "--enable-python${v}" # it is just 'PYTHON' for py3 in the build system "PYTHON${v#3}=${PYTHON}" - "PYTHON${v}_CONFIG=${PYTHON}-config" + "PYTHON${v}_CONFIG=$(python_get_PYTHON_CONFIG)" ) } use python && python_foreach_impl python_configure