diff options
author | Tony Cook <tony@develop-help.com> | 2020-01-22 11:16:14 +1100 |
---|---|---|
committer | Tony Cook <tony@develop-help.com> | 2020-01-27 14:14:49 +1100 |
commit | c92273b390a103161af863833ea3204f82fda2cc (patch) | |
tree | fd4560f1115aa5e5edf463ba7164d50cb114292d /dist | |
parent | 7fba41dc89cb0e9d17584cc10ecf352d2dca8cbd (diff) | |
download | perl-c92273b390a103161af863833ea3204f82fda2cc.tar.gz |
Storable/Makefile.PL: fix dependencies
partial fix for #17422
Diffstat (limited to 'dist')
-rw-r--r-- | dist/Storable/Makefile.PL | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/dist/Storable/Makefile.PL b/dist/Storable/Makefile.PL index 92482c81f7..e03e141b9f 100644 --- a/dist/Storable/Makefile.PL +++ b/dist/Storable/Makefile.PL @@ -16,9 +16,23 @@ WriteMakefile( AUTHOR => 'Perl 5 Porters', LICENSE => 'perl', DISTNAME => "Storable", -# We now ship this in t/ -# PREREQ_PM => { 'Test::More' => '0.41' }, - PREREQ_PM => { XSLoader => 0 }, + PREREQ_PM => + { + XSLoader => 0, + }, + ( $ExtUtils::MakeMaker::VERSION >= 6.64 ? + ( + CONFIGURE_REQUIRES => { + 'ExtUtils::MakeMaker' => '6.31', + }, + BUILD_REQUIRES => { + 'ExtUtils::MakeMaker' => '6.31', + }, + TEST_REQUIRES => { + 'Test::More' => '0.41', + }, + ) + : () ), INSTALLDIRS => ($] >= 5.007 && $] < 5.012) ? 'perl' : 'site', VERSION_FROM => 'Storable.pm', ABSTRACT_FROM => 'Storable.pm', |