Skip Menu |

This queue is for tickets about the Math-Complex CPAN distribution.

Report information
The Basics
Id: 79795
Status: open
Priority: 0/
Queue: Math-Complex

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 the problem reported with #27186 (from 2007) does not occur with perl versions 5.11 and above. The attached patch sets INSTALLDIRS to 'site' instead of 'perl' when the Makefile.PL is run with a sufficient perl version. regards, Robert Sedlacek
Subject: install_to_site_post_5011.patch
--- Makefile.PL.orig 2012-09-22 23:37:34.351765744 +0200 +++ Makefile.PL 2012-09-22 23:38:01.779901744 +0200 @@ -5,7 +5,7 @@ WriteMakefile( NAME => 'Math::Complex', VERSION_FROM => 'lib/Math/Complex.pm', - INSTALLDIRS => 'perl', + INSTALLDIRS => ($] < 5.011 ? 'perl' : 'site'), PREREQ_PM => { 'Config' => 0,
This is still a valid concern. RT ticket for core: https://rt.perl.org/rt3/Ticket/Display.html?id=116479