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)



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') : ()),
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.