From: Michał Górny Date: Sat, 7 Dec 2019 19:52:39 +0000 (+0100) Subject: dev-libs/libxml2: Ensure using correct Python sitedir X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=3ac390cc82d42c6d50dcff61b9884dbf19b03e7d;p=gentoo.git dev-libs/libxml2: Ensure using correct Python sitedir Closes: https://bugs.gentoo.org/702016 Signed-off-by: Michał Górny --- 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 64d73e237ca9..3ddadc82e9e2 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