summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-12-07 20:52:39 +0100
committerMichał Górny <mgorny@gentoo.org>2019-12-07 21:31:29 +0100
commit3ac390cc82d42c6d50dcff61b9884dbf19b03e7d (patch)
tree04474cb04cb4b8bc78861e1301eba7c799217425 /dev-libs/libxml2
parentprofiles: Mask sci-astronomy/casacore for removal (diff)
downloadgentoo-3ac390cc82d42c6d50dcff61b9884dbf19b03e7d.tar.gz
gentoo-3ac390cc82d42c6d50dcff61b9884dbf19b03e7d.tar.bz2
gentoo-3ac390cc82d42c6d50dcff61b9884dbf19b03e7d.zip
dev-libs/libxml2: Ensure using correct Python sitedir
Closes: https://bugs.gentoo.org/702016 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-libs/libxml2')
-rw-r--r--dev-libs/libxml2/libxml2-2.9.9-r2.ebuild (renamed from dev-libs/libxml2/libxml2-2.9.9-r1.ebuild)5
1 files changed, 4 insertions, 1 deletions
diff --git a/dev-libs/libxml2/libxml2-2.9.9-r1.ebuild b/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