diff options
author | Dirkjan Ochtman <djc@gentoo.org> | 2016-03-17 21:49:15 +0100 |
---|---|---|
committer | Dirkjan Ochtman <djc@gentoo.org> | 2016-03-17 21:49:15 +0100 |
commit | 7d94eb446eb6f800c4a3e3c3c6969a58fe291b53 (patch) | |
tree | 3480d299d5391715e7f852cba3f7ae276871fbb7 /dev-python/lxml | |
parent | 9f9eeeda639d83961b42c9ba36c0d560ed88b87e (diff) | |
download | gentoo-7d94eb446eb6f800c4a3e3c3c6969a58fe291b53.tar.gz gentoo-7d94eb446eb6f800c4a3e3c3c6969a58fe291b53.tar.xz |
dev-python/lxml: fix bug in cross-compilation patch(es)
Diffstat (limited to 'dev-python/lxml')
-rw-r--r-- | dev-python/lxml/files/lxml-3.4.4-cross-compile.patch | 2 | ||||
-rw-r--r-- | dev-python/lxml/files/lxml-3.5.0-cross-compile.patch | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/dev-python/lxml/files/lxml-3.4.4-cross-compile.patch b/dev-python/lxml/files/lxml-3.4.4-cross-compile.patch index 7d1ed178d61..049b8840c0f 100644 --- a/dev-python/lxml/files/lxml-3.4.4-cross-compile.patch +++ b/dev-python/lxml/files/lxml-3.4.4-cross-compile.patch @@ -30,7 +30,7 @@ use pkg-config to find libxml2/libxslt details rather than xxx-config scripts - xslt_flags = run_command(find_xslt_config(), "--%s" % option) + pkg_config = os.environ.get('PKG_CONFIG', 'pkg-config') + xml2_flags = run_command(pkg_config, 'libxml-2.0', '--%s' % option) -+ xslt_flags = run_command(pkg_config, 'libxxlt', '--%s' % option) ++ xslt_flags = run_command(pkg_config, 'libxslt', '--%s' % option) flag_list = xml2_flags.split() for flag in xslt_flags.split(): diff --git a/dev-python/lxml/files/lxml-3.5.0-cross-compile.patch b/dev-python/lxml/files/lxml-3.5.0-cross-compile.patch index 54e4087a9b7..82a371c7297 100644 --- a/dev-python/lxml/files/lxml-3.5.0-cross-compile.patch +++ b/dev-python/lxml/files/lxml-3.5.0-cross-compile.patch @@ -33,7 +33,7 @@ index e04c38f..0549eaa 100644 - xslt_flags = run_command(find_xslt_config(), "--%s" % option) + pkg_config = os.environ.get('PKG_CONFIG', 'pkg-config') + xml2_flags = run_command(pkg_config, 'libxml-2.0', '--%s' % option) -+ xslt_flags = run_command(pkg_config, 'libxxlt', '--%s' % option) ++ xslt_flags = run_command(pkg_config, 'libxslt', '--%s' % option) flag_list = xml2_flags.split() for flag in xslt_flags.split(): |