Revision history for JSON-MaybeXS
+ - fix installation on older perls with an older ExtUtils::MakeMaker
+ (RT#94964)
+
1.002000 - 2014-04-22
- Now also supports JSON::XS, when available: Cpanel::JSON::XS will only be
installed when there is no XS backend already installed; Cpanel::JSON::XS
my $eumm_version = eval $ExtUtils::MakeMaker::VERSION;
$WriteMakefileArgs{MIN_PERL_VERSION} = delete $WriteMakefileArgs{PREREQ_PM}{perl} || 0;
$WriteMakefileArgs{BUILD_REQUIRES} = {
- %{$WriteMakefileArgs{BUILD_REQUIRES}},
+ %{$WriteMakefileArgs{BUILD_REQUIRES} || {}},
%{delete $WriteMakefileArgs{TEST_REQUIRES}}
} if $eumm_version < 6.63_03;
$WriteMakefileArgs{PREREQ_PM} = {