X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=Makefile.PL;h=22092a07a9d987da1129adbcb082aa3ac37d5754;hb=d01665b0af6675214d0d186b05a9c53efd10e3cf;hp=1c5c428370cef5598b9dd3158304139b31be1bae;hpb=3201984d539ab173c11a001792be4294af17a08c;p=perl%2Fmodules%2Fautovivification.git diff --git a/Makefile.PL b/Makefile.PL index 1c5c428..22092a0 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -34,12 +34,12 @@ if ($^O eq 'MSWin32' and not grep /^LD[A-Z]*=/, @ARGV) { print $is_gcc_34 ? "yes\n" : "no\n"; # 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' && "$]" < 5.009) { push @DEFINES, '-DA_MULTIPLICITY=0'; } # Fork emulation got "fixed" in 5.10.1 -if ($^O eq 'MSWin32' && $^V lt v5.10.1) { +if ($^O eq 'MSWin32' && "$]" < 5.010001) { push @DEFINES, '-DA_FORKSAFE=0'; } @@ -84,14 +84,14 @@ WriteMakefile( PL_FILES => {}, @DEFINES, PREREQ_PM => \%PREREQ_PM, - MIN_PERL_VERSION => 5.008003, + MIN_PERL_VERSION => '5.008003', 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*" }, %macro, );