]> code.ossystems Code Review - openembedded-core.git/commit
intltool: remove broken XML::Parser detection
authorRoss Burton <ross.burton@intel.com>
Tue, 19 Jul 2016 11:04:12 +0000 (12:04 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 20 Jul 2016 09:28:01 +0000 (10:28 +0100)
commit9900000d404b09a701d5368d529eb515e054e3f0
tree7dd467260ba7bf8c866abefe7a15cfc3d3629acd
parentbf88f089c3bb8ceef7338436a1688a44399efc57
intltool: remove broken XML::Parser detection

intltool.m4 has a chunk of code that runs during configure which probes for a
perl binary and verifies that it has the XML::Parser module.  However in builds
using intltool-native the perl binary that it finds is likely to not be the one
that the intltool scripts will be using as the scripts hardcode nativeperl yet
the m4 fragment searches for "perl" in $PATH.  If the host perl doesn't have
XML::Parser the configure will fail, despite the fact that the scripts will
work.

Solve this by taking an old patch from the upstream bug system to simply remove
the check in intltool.m4 as it's generally useless, and remove existing patches
that almost but not quite solved this issue.

Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-devtools/intltool/intltool/remove-perl-check.patch [new file with mode: 0644]
meta/recipes-devtools/intltool/intltool/remove-xml-check.patch [deleted file]
meta/recipes-devtools/intltool/intltool/use-nativeperl.patch [deleted file]
meta/recipes-devtools/intltool/intltool_0.51.0.bb