Subject: | Install to 'site' instead of 'perl' when perl version is 5.11+ |
Hello,
According to [1] since perl 5.11 it is no longer necessary to set
INSTALLDIRS to 'perl' instead of 'site'. The attached patch amends the
version check in Makefile.PL to set it to 'site' if the perl version is
at 5.11 or above.
regards,
Robert Sedlacek
[1] https://github.com/rjbs/perlto do/blob/master/Supply-Patches-
to-Fix-Install-Location.mkdn
Subject: | install_to_site_post_5011.patch |
--- Makefile.PL.orig 2012-09-23 20:24:04.918751464 +0200
+++ Makefile.PL 2012-09-23 20:24:32.018885856 +0200
@@ -47,7 +47,7 @@
: ()
),
- INSTALLDIRS => ($] > 5.010 ? 'perl' : 'site'),
+ INSTALLDIRS => (($] > 5.010 and $] < 5.011) ? 'perl' : 'site'),
META_MERGE => {
no_index => {