Subject: | Install to 'site' instead of 'perl' when perl version is 5.11+ |
Hello,
according to
https://github.com/rjbs/perltodo/blob/master/Supply-Patches-to-Fix-Install-Location.mkdn
on perls 5.11 and onward it is no longer necessary to install to 'perl'
instead of 'site'. The included patch amends the check (currently it is
included in perls 5.8 and above) to not set INSTALLDIRS to 'perl' from
5.11 up.
regards,
Robert Sedlacek
Subject: | install_to_site_post_5011.patch |
--- Makefile.PL.orig 2012-09-23 00:42:26.283064785 +0200
+++ Makefile.PL 2012-09-23 00:43:47.439467224 +0200
@@ -758,7 +758,7 @@
# Do not even think about 'INC' => '-I/usr/ucbinclude',
# Solaris will avenge.
'INC' => '', # e.g., '-I/usr/include/other'
- 'INSTALLDIRS' => ($] >= 5.008 ? 'perl' : 'site'),
+ 'INSTALLDIRS' => (($] >= 5.008 and $] < 5.011) ? 'perl' : 'site'),
'PREREQ_PM' => {
'Carp' => 0,
'Config' => 0,