summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dist/lib/Makefile.PL2
1 files changed, 1 insertions, 1 deletions
diff --git a/dist/lib/Makefile.PL b/dist/lib/Makefile.PL
index 1f80b02cf2..129a70394f 100644
--- a/dist/lib/Makefile.PL
+++ b/dist/lib/Makefile.PL
@@ -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'},