commit:     3ac390cc82d42c6d50dcff61b9884dbf19b03e7d
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Dec  7 19:52:39 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Dec  7 20:31:29 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ac390cc

dev-libs/libxml2: Ensure using correct Python sitedir

Closes: https://bugs.gentoo.org/702016
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 .../libxml2/{libxml2-2.9.9-r1.ebuild => libxml2-2.9.9-r2.ebuild}     | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dev-libs/libxml2/libxml2-2.9.9-r1.ebuild 
b/dev-libs/libxml2/libxml2-2.9.9-r2.ebuild
similarity index 97%
rename from dev-libs/libxml2/libxml2-2.9.9-r1.ebuild
rename to dev-libs/libxml2/libxml2-2.9.9-r2.ebuild
index 64d73e237ca..3ddadc82e9e 100644
--- a/dev-libs/libxml2/libxml2-2.9.9-r1.ebuild
+++ b/dev-libs/libxml2/libxml2-2.9.9-r2.ebuild
@@ -134,7 +134,10 @@ multilib_src_configure() {
 
        libxml2_py_configure() {
                mkdir -p "${BUILD_DIR}" || die # ensure python build dirs exist
-               run_in_build_dir libxml2_configure 
"--with-python=${ROOT%/}${PYTHON}" # odd build system, also see bug #582130
+               run_in_build_dir libxml2_configure \
+                       "--with-python=${EPYTHON}" \
+                       "--with-python-install-dir=$(python_get_sitedir)"
+                       # odd build system, also see bug #582130
        }
 
        libxml2_configure --without-python # build python bindings separately

Reply via email to