X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=Makefile.PL;h=8a8a746f38c049355303b1e5383b25a95998466c;hb=40ef72f0c01074b9767916dee4cb8eb478929e6f;hp=ec40661bfff4d59c4495f59c1dab1a4ca64d9317;hpb=c4e0f535eed38fbe225cafa715168cb5949e8b44;p=perl%2Fmodules%2FLexical-Types.git diff --git a/Makefile.PL b/Makefile.PL index ec40661..8a8a746 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,4 +1,4 @@ -use 5.008; +use 5.008001; use strict; use warnings; @@ -11,6 +11,11 @@ if ($^O eq 'MSWin32' && $^V lt v5.9.0) { push @DEFINES, '-DLT_MULTIPLICITY=0'; } +# Fork emulation got "fixed" in 5.10.1 +if ($^O eq 'MSWin32' && $^V lt v5.10.1) { + push @DEFINES, '-DLT_FORKSAFE=0'; +} + @DEFINES = (DEFINE => join ' ', @DEFINES) if @DEFINES; my $dist = 'Lexical-Types'; @@ -53,7 +58,7 @@ WriteMakefile( PL_FILES => {}, @DEFINES, PREREQ_PM => \%PREREQ_PM, - MIN_PERL_VERSION => 5.008, + MIN_PERL_VERSION => 5.008001, META_MERGE => \%META, dist => { PREOP => "pod2text $file > \$(DISTVNAME)/README",