X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2Findirect.git;a=blobdiff_plain;f=Makefile.PL;h=f75ab5e6d28af2e044a5a8ec48d5a0b8a5f9f12b;hp=1f7e5c87be2d24bca3da7c72613154131fb18c14;hb=4ded1e3aba5e01adc8838e6613cf693bdbffa1fe;hpb=dd6141a1ff00e5e62c4ed26899aeecb1b9d7d019 diff --git a/Makefile.PL b/Makefile.PL index 1f7e5c8..f75ab5e 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -7,12 +7,12 @@ use ExtUtils::MakeMaker; my @DEFINES; # Threads, Windows and 5.8.x don't seem to be best friends -if ($^O eq 'MSWin32' && $^V lt v5.9.0) { +if ($^O eq 'MSWin32' and "$]" < 5.009) { push @DEFINES, '-DI_MULTIPLICITY=0'; } # Fork emulation got "fixed" in 5.10.1 -if ($^O eq 'MSWin32' && $^V lt v5.10.1) { +if ($^O eq 'MSWin32' and "$]" < 5.010_001) { push @DEFINES, '-DI_FORKSAFE=0'; } @@ -26,6 +26,7 @@ my $dist = 'indirect'; $file = "lib/$file.pm"; my %PREREQ_PM = ( + 'Carp' => 0, 'XSLoader' => 0, ); @@ -59,10 +60,10 @@ WriteMakefile( MIN_PERL_VERSION => 5.008001, META_MERGE => \%META, dist => { - PREOP => "pod2text $file > \$(DISTVNAME)/README", + PREOP => "pod2text -u $file > \$(DISTVNAME)/README", COMPRESS => 'gzip -9f', SUFFIX => 'gz' }, clean => { - FILES => "$dist-* *.gcov *.gcda *.gcno cover_db Debian_CPANTS.txt" + FILES => "$dist-* *.gcov *.gcda *.gcno cover_db Debian_CPANTS.txt*" }, );