diff options
author | Michał Górny <mgorny@gentoo.org> | 2015-11-08 09:44:45 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2015-11-11 11:21:51 +0100 |
commit | e9dd39803ff5de5e28185f3adf841aa8d552b45d (patch) | |
tree | 82c984c73e83cf58ecaa9de01c385744f0126b08 /dev-libs/libpeas | |
parent | python-utils-r1.eclass: Reuse PYTHON_CONFIG in python_wrapper_setup() (diff) | |
download | gentoo-e9dd39803ff5de5e28185f3adf841aa8d552b45d.tar.gz gentoo-e9dd39803ff5de5e28185f3adf841aa8d552b45d.tar.bz2 gentoo-e9dd39803ff5de5e28185f3adf841aa8d552b45d.zip |
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.
Diffstat (limited to 'dev-libs/libpeas')
-rw-r--r-- | dev-libs/libpeas/libpeas-1.12.1-r1.ebuild | 2 | ||||
-rw-r--r-- | dev-libs/libpeas/libpeas-1.14.0-r1.ebuild | 2 | ||||
-rw-r--r-- | dev-libs/libpeas/libpeas-1.14.0.ebuild | 2 |
3 files changed, 3 insertions, 3 deletions
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 |