summaryrefslogtreecommitdiff
path: root/dist/lib/Makefile.PL
diff options
context:
space:
mode:
authorBrian Gottreu <gottreu@gmail.com>2013-07-01 19:54:03 -0500
committerJames E Keenan <jkeenan@cpan.org>2013-07-02 04:09:09 +0200
commit2ed0bf6bc8788e94a3c945ee58ffea3572051f90 (patch)
tree7478b2bd4b70ebd49135d88607892a8d85679a5f /dist/lib/Makefile.PL
parent70ba8092db41e7b304479da40a30e1c2163395f9 (diff)
downloadperl-2ed0bf6bc8788e94a3c945ee58ffea3572051f90.tar.gz
dist/lib/Makefile.PL: change INSTALLDIRS to 'site' for 5.12 and later
Diffstat (limited to 'dist/lib/Makefile.PL')
-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'},