This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Suppress system Term::ReadLine::Gnu
[perl5.git] / dist / IO / Makefile.PL
index 2159f43..7783cf9 100644 (file)
@@ -33,10 +33,13 @@ WriteMakefile(
   OBJECT       => '$(O_FILES)',
   ABSTRACT     => 'Perl core IO modules',
   AUTHOR       => 'Graham Barr <gbarr@cpan.org>',
+  PREREQ_PM    => {
+    'Test::More' => 0,
+  },
   ( $PERL_CORE
     ? ()
     : (
-      INSTALLDIRS => 'perl',
+      INSTALLDIRS => ($] < 5.011 ? 'perl' : 'site'),
       clean       => {FILES => 'typemap'},
     )
   ),