diff options
author | Francois Perrad <fperrad@gmail.com> | 2015-09-13 14:56:28 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-09-13 21:17:02 +0200 |
commit | a85a97a9583a31bce51ef2215220a0a6431997be (patch) | |
tree | 643001db391d16d63d88669714d836f335281e62 /package/perl | |
parent | d36ed1a7b88939bb1949e8d3a99eb3ec6f01922e (diff) |
perl: fix static build
see http://autobuild.buildroot.net/results/502/502e6a6280451acc48e5f500e774b2bd04c7229e/
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/perl')
-rw-r--r-- | package/perl/0001-fix-EUMM.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/package/perl/0001-fix-EUMM.patch b/package/perl/0001-fix-EUMM.patch new file mode 100644 index 000000000..e2b24ff31 --- /dev/null +++ b/package/perl/0001-fix-EUMM.patch @@ -0,0 +1,18 @@ +fix EUMM 7.04_01 which comes with Perl 5.22.0 + +with static lib build, we cannot call _find_magic_vstring(), +which does a `require B;` and B is not a pure Perl module. + +Signed-off-by: Francois Perrad <francois.perrad@gadz.org> + +--- a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker/version/vpp.pm ++++ b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker/version/vpp.pm +@@ -933,7 +933,7 @@ sub _un_vstring { + if ( length($value) >= 3 && $value !~ /[._]/ + && _is_non_alphanumeric($value)) { + my $tvalue; +- if ( $] ge 5.008_001 ) { ++ if ( $Config{usedl} && ( $] ge 5.008_001 ) ) { + $tvalue = _find_magic_vstring($value); + $value = $tvalue if length $tvalue; + } |