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.
Note: I filed a similar patch for Compress-Raw-Bzip2 (RT#79811) and
Compress-Raw-Zlib (RT#79812).
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 22:34:15.989484480 +0200
+++ Makefile.PL 2012-09-23 22:34:45.181629225 +0200
@@ -39,7 +39,7 @@
: ()
),
- INSTALLDIRS => ($] >= 5.009 ? 'perl' : 'site'),
+ INSTALLDIRS => (($] >= 5.009 and $] < 5.011) ? 'perl' : 'site'),
EXE_FILES => ['bin/zipdetails'],