Skip Menu |

This queue is for tickets about the MIME-Base64 CPAN distribution.

Report information
The Basics
Id: 79796
Status: resolved
Priority: 0/
Queue: MIME-Base64

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 dual-life distributions can be installed to 'site' instead of 'perl' on versions 5.11+, since those look into 'site' first. The attached patch amends the injection of the INSTALLDIRS directive in Makefile.PL to happen only when the perl version is below 5.11 and at least 5.8 (originally it was injected generally for 5.8+). regards, Robert Sedlacek
Subject: install_to_site_post_5011.patch
diff --git a/Makefile.PL b/Makefile.PL index 8307d2c..77ac900 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -2,7 +2,7 @@ require 5.006; use ExtUtils::MakeMaker; my @makefileopts; -if ($] >= 5.008) { +if ($] >= 5.008 and $] < 5.011) { push @makefileopts, INSTALLDIRS => 'perl'; }
This is still a valid problem. RT ticket for core: https://rt.perl.org/rt3/Ticket/Display.html?id=116479