commit:     dfa91850347a9ff476c06e994d6572f3492e7044
Author:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 25 08:59:28 2021 +0000
Commit:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Sat Sep 25 09:03:00 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfa91850

dev-libs/libxml2: Revert "Fix cross-compilation with USE=python"

- Attempted soultion was wrong because the script executes Python at a
  given path which can't work if it was compiled for a different
  architecture.

This reverts commit 7963aaf058ccd97431c4852244a8685056235e11.

Bug: https://bugs.gentoo.org/582130
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>

 dev-libs/libxml2/libxml2-2.9.12-r5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libxml2/libxml2-2.9.12-r5.ebuild 
b/dev-libs/libxml2/libxml2-2.9.12-r5.ebuild
index f7802bf5e68..7fc0cfe3b05 100644
--- a/dev-libs/libxml2/libxml2-2.9.12-r5.ebuild
+++ b/dev-libs/libxml2/libxml2-2.9.12-r5.ebuild
@@ -165,7 +165,7 @@ multilib_src_configure() {
 
                # Odd build system, also see bug #582130
                run_in_build_dir libxml2_configure \
-                       "--with-python=${ESYSROOT}/${PYTHON}"
+                       "--with-python=${EPYTHON}" \
                        "--with-python-install-dir=$(python_get_sitedir)"
        }
 

Reply via email to