X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=Makefile.PL;h=05a4878bbd41d5dde8508a2c70772345fa222d19;hb=4c4a1920feccc332a57cea1bdf42ed240fb65deb;hp=665168cbf5679678d15675cc8c5cd0db8143b3eb;hpb=d82c4db640472b9263b2d20d849ea7388dfa8c7c;p=perl%2Fmodules%2Fre-engine-Plugin.git diff --git a/Makefile.PL b/Makefile.PL index 665168c..05a4878 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -7,8 +7,8 @@ use ExtUtils::MakeMaker; my @DEFINES; # Fork emulation got "fixed" in 5.10.1 -if ($^O eq 'MSWin32' && $^V lt v5.10.1) { - push @DEFINES, '-DREP_FORKSAFE=0'; +if ($^O eq 'MSWin32' && "$]" < 5.010_001) { + push @DEFINES, '-DXSH_FORKSAFE=0'; } @DEFINES = (DEFINE => join ' ', @DEFINES) if @DEFINES; @@ -48,7 +48,7 @@ WriteMakefile( PL_FILES => {}, @DEFINES, PREREQ_PM => \%PREREQ_PM, - MIN_PERL_VERSION => 5.010, + MIN_PERL_VERSION => '5.010', META_MERGE => \%META, dist => { PREOP => 'pod2text -u Plugin.pod > $(DISTVNAME)/README',