From 3ac390cc82d42c6d50dcff61b9884dbf19b03e7d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sat, 7 Dec 2019 20:52:39 +0100 Subject: [PATCH] dev-libs/libxml2: Ensure using correct Python sitedir MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/702016 Signed-off-by: Michał Górny --- .../{libxml2-2.9.9-r1.ebuild => libxml2-2.9.9-r2.ebuild} | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) rename dev-libs/libxml2/{libxml2-2.9.9-r1.ebuild => libxml2-2.9.9-r2.ebuild} (97%) 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 -- 2.26.2