dev-python/lxml: fix bug in cross-compilation patch(es)
authorDirkjan Ochtman <djc@gentoo.org>
Thu, 17 Mar 2016 20:49:15 +0000 (21:49 +0100)
committerDirkjan Ochtman <djc@gentoo.org>
Thu, 17 Mar 2016 20:49:15 +0000 (21:49 +0100)
dev-python/lxml/files/lxml-3.4.4-cross-compile.patch
dev-python/lxml/files/lxml-3.5.0-cross-compile.patch

index 7d1ed178d6159dcd7fc70b5c4ef53b03cb3e2331..049b8840c0fac65a3c68075a5d2728a3b96d949a 100644 (file)
@@ -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():
index 54e4087a9b73cf95e2e10ae70bdbc2fefd26b084..82a371c729780071b4baf698d4f1c1a304b4c2dc 100644 (file)
@@ -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():