Gentoo Archives: gentoo-commits

From: "Jakov Smolić" <jsmolic@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libxml2/
Date: Sat, 25 Sep 2021 09:03:23
Message-Id: 1632560580.dfa91850347a9ff476c06e994d6572f3492e7044.jsmolic@gentoo
1 commit: dfa91850347a9ff476c06e994d6572f3492e7044
2 Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 25 08:59:28 2021 +0000
4 Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 25 09:03:00 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfa91850
7
8 dev-libs/libxml2: Revert "Fix cross-compilation with USE=python"
9
10 - Attempted soultion was wrong because the script executes Python at a
11 given path which can't work if it was compiled for a different
12 architecture.
13
14 This reverts commit 7963aaf058ccd97431c4852244a8685056235e11.
15
16 Bug: https://bugs.gentoo.org/582130
17 Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
18
19 dev-libs/libxml2/libxml2-2.9.12-r5.ebuild | 2 +-
20 1 file changed, 1 insertion(+), 1 deletion(-)
21
22 diff --git a/dev-libs/libxml2/libxml2-2.9.12-r5.ebuild b/dev-libs/libxml2/libxml2-2.9.12-r5.ebuild
23 index f7802bf5e68..7fc0cfe3b05 100644
24 --- a/dev-libs/libxml2/libxml2-2.9.12-r5.ebuild
25 +++ b/dev-libs/libxml2/libxml2-2.9.12-r5.ebuild
26 @@ -165,7 +165,7 @@ multilib_src_configure() {
27
28 # Odd build system, also see bug #582130
29 run_in_build_dir libxml2_configure \
30 - "--with-python=${ESYSROOT}/${PYTHON}"
31 + "--with-python=${EPYTHON}" \
32 "--with-python-install-dir=$(python_get_sitedir)"
33 }