Skip Menu |

This queue is for tickets about the Time-HiRes CPAN distribution.

Report information
The Basics
Id: 79797
Status: resolved
Priority: 0/
Queue: Time-HiRes

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

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



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,
This is still a valid problem. RT ticket for core: https://rt.cpan.org/Ticket/Display.html?id=79795
Fixed in Time-HiRes-1.9726, now on CPAN.