This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
davem's perldelta entries for 5.25.9 so far
[perl5.git] / dist / lib / Makefile.PL
index 1f80b02..129a703 100644 (file)
@@ -31,7 +31,7 @@ WriteMakefile(
   'PREREQ_PM' => {},
   'ABSTRACT_FROM' => 'lib_pm.PL',
   'AUTHOR' => 'Steffen Mueller <smueller@cpan.org>',
-  'INSTALLDIRS' => 'perl',
+  'INSTALLDIRS' => ($] < 5.012 ? 'perl' : 'site'),
   'PL_FILES' => {'lib_pm.PL' => 'lib.pm'},
   'PM' => {'lib.pm' => '$(INST_LIBDIR)/lib.pm'},
   'clean' => {FILES => 'lib.pm'},