]> git.vpit.fr Git - perl/modules/indirect.git/blobdiff - Makefile.PL
Skip the hint entry vivification test on 5.11
[perl/modules/indirect.git] / Makefile.PL
index 1f7e5c87be2d24bca3da7c72613154131fb18c14..e00e6f155ec08a90abb75401d38cc1b1b32558ca 100644 (file)
@@ -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';
 }
 
@@ -59,7 +59,7 @@ 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            => {