Skip Menu |

This queue is for tickets about the Unicode-Collate CPAN distribution.

Report information
The Basics
Id: 79800
Status: resolved
Priority: 0/
Queue: Unicode-Collate

People
Owner: Nobody in particular
Requestors: rs [...] 474.at
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 0.90



Subject: Install to 'site' instead of 'perl' when perl version is 5.11+
Hello, Currently, when the installing perl version is 5.7.2 or above, the Makefile.PL will set INSTALLDIRS to 'perl' instead of 'site'. According to [1], since 5.11 it is no longer necessary to do this to avoid the core version shadowing the CPAN-installed version. The included patch amends the INSTALLDIRS check to only set it to 'perl' when the version is also below 5.11. 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 01:07:27.422508545 +0200 +++ Makefile.PL 2012-09-23 01:08:25.442796241 +0200 @@ -14,7 +14,7 @@ WriteMakefile( 'AUTHOR' => 'SADAHIRO Tomoyuki <SADAHIRO@cpan.org>', 'ABSTRACT' => 'Unicode Collation Algorithm', - 'INSTALLDIRS' => $] >= 5.007002 ? 'perl' : 'site', + 'INSTALLDIRS' => ($] >= 5.007002 and $] < 5.011) ? 'perl' : 'site', 'LICENSE' => 'perl', 'NAME' => 'Unicode::Collate', 'VERSION_FROM' => 'Collate.pm', # finds $VERSION
Subject: Re: [rt.cpan.org #79800] Install to 'site' instead of 'perl' when perl version is 5.11+
Date: Sun, 23 Sep 2012 13:27:10 +0900
To: bug-Unicode-Collate [...] rt.cpan.org
From: SADAHIRO Tomoyuki <bqw10602 [...] nifty.com>
On Sat, 22 Sep 2012 19:13:21 -0400 "Robert 'phaylon' Sedlacek via RT" <bug-Unicode-Collate@rt.cpan.org> wrote: Show quoted text
> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=79800 > > > > Hello, > > Currently, when the installing perl version is 5.7.2 or above, the > Makefile.PL will set INSTALLDIRS to 'perl' instead of 'site'. According > to [1], since 5.11 it is no longer necessary to do this to avoid the > core version shadowing the CPAN-installed version. > > The included patch amends the INSTALLDIRS check to only set it to 'perl' > when the version is also below 5.11. > > regards, > Robert Sedlacek > > [1] https://github.com/rjbs/perlto do/blob/master/Supply-Patches- > to-Fix-Install-Location.mkdn
Thank you for your report! It should be applied to the next release. Regards, SADAHIRO Tomoyuki
Released. Thank you. Sadahiro Tomoyuki