Skip to content

Commit

Permalink
fix a bug in Makefile.PL that would have shown with an older EUMM... …
Browse files Browse the repository at this point in the history
…whoops
  • Loading branch information
pryrt committed Nov 22, 2021
1 parent 367204e commit 948de55
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Makefile.PL
Expand Up @@ -88,18 +88,18 @@ use ExtUtils::MakeMaker;
delete $mm_args{MIN_PERL_VERSION};
}
if( $ExtUtils::MakeMaker::VERSION < '6.52' ) {
$mm_args{PREREQ_PM} = (
$mm_args{PREREQ_PM} = {
$mm_args{TEST_REQUIRES},
$mm_args{CONFIGURE_REQUIRES},
$mm_args{PREREQ_PM},
) if exists $mm_args{PREREQ_PM}; # merge TEST and CONFIG into PREREQ
} if exists $mm_args{PREREQ_PM}; # merge TEST and CONFIG into PREREQ
delete $mm_args{CONFIGURE_REQUIRES};
}
if( $ExtUtils::MakeMaker::VERSION < '6.64' ) {
$mm_args{CONFIGURE_REQUIRES} = (
delete $mm_args{TEST_REQUIRES};
} elsif( $ExtUtils::MakeMaker::VERSION < '6.64' ) {
$mm_args{CONFIGURE_REQUIRES} = {
$mm_args{TEST_REQUIRES},
$mm_args{CONFIGURE_REQUIRES},
) if exists $mm_args{CONFIGURE_REQUIRES}; # merge TEST into CONFIG
} if exists $mm_args{CONFIGURE_REQUIRES}; # merge TEST into CONFIG
delete $mm_args{TEST_REQUIRES};
}
if( $ExtUtils::MakeMaker::VERSION >= '6.18' ) {
Expand Down

0 comments on commit 948de55

Please sign in to comment.