Skip Menu |

This queue is for tickets about the IPC-SysV CPAN distribution.

Report information
The Basics
Id: 79821
Status: resolved
Priority: 0/
Queue: IPC-SysV

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, The Makefile.PL will currently set INSTALLDIRS to 'perl' for perls of version 5.5 and above. According to [1] this is no longer necessary for perls of version 5.11 and above, since those will look in 'site' first. The attached patch changes the version check for INSTALLDIRS to only set it to 'perl' when the perl version is also below 5.11. regards, Robert Sedlacek [1] https://github.com/rjbs/perltodo/blob/master/Supply-Patches-to-Fix-Install-Location.mkdn
Subject: install_to_site_post_5011.patch
--- Makefile.PL.orig 2012-09-23 22:45:02.768691685 +0200 +++ Makefile.PL 2012-09-23 22:46:49.413220502 +0200 @@ -57,7 +57,12 @@ } else { # IPC::SysV is in the core since 5.005 - push @moreopts, INSTALLDIRS => ($] >= 5.005 ? 'perl' : 'site'); + # 5.11.0+ has site before perl + push @moreopts, INSTALLDIRS => ( + ($] >= 5.005 and $] < 5.011) + ? 'perl' + : 'site', + ); } $depend{'SysV.xs'} = 'const-c.inc const-xs.inc';
This is still a valid concern. Link to RT ticket for core: https://rt.perl.org/rt3/Ticket/Display.html?id=116479
On Mon Jul 01 23:14:55 2013, GOTTREU wrote: Show quoted text
> This is still a valid concern. > > Link to RT ticket for core: > https://rt.perl.org/rt3/Ticket/Display.html?id=116479
Thanks, I've patched my dev version and the fix will be part of the next release (which will hopefully happen soonish). Sorry for the wait. Marcus