Skip Menu |
 

This queue is for tickets about the Filter-Simple CPAN distribution.

Report information
The Basics
Id: 133180
Status: new
Priority: 0/
Queue: Filter-Simple

People
Owner: Nobody in particular
Requestors: syohex [...] gmail.com
Cc:
AdminCc:

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

Attachments
installdirs_for_5.11_or_higher_versions.patch



Subject: Set INSTALLDIRS to 'site' for 5.11 or higher versions
Subject: installdirs_for_5.11_or_higher_versions.patch
diff --git a/Makefile.PL b/Makefile.PL index f011321..8666526 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -5,7 +5,7 @@ WriteMakefile( VERSION_FROM => 'lib/Filter/Simple.pm', INSTALLDIRS => 'perl', 'LICENSE' => 'perl', - 'INSTALLDIRS' => 'perl', + 'INSTALLDIRS' => $] < 5.011 ? 'perl' : 'site', ($] >= 5.005 ? (ABSTRACT_FROM => 'lib/Filter/Simple.pm', 'AUTHOR' => 'Damian Conway') : ()),
Download (untitled) / with headers
text/plain 303b
Filter::Simple cannot be installed with system perl on modern macOS as below. Because modern macOS does not permit writing under /usr except /usr/local. ERROR: Can't create '/usr/share/man/man3' mkdir /usr/share/man/man3: Read-only file system at /System/Library/Perl/5.18/ExtUtils/Install.pm line 469.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.