diff options
author | Rafael Garcia-Suarez <rgs@consttype.org> | 2010-02-18 10:57:17 +0100 |
---|---|---|
committer | Rafael Garcia-Suarez <rgs@consttype.org> | 2010-02-22 22:06:04 +0100 |
commit | dd25434e956a33182a7425d061a66bfd0d144323 (patch) | |
tree | 1677a94be0ff2999ee95897b179886a3d4a86930 | |
parent | c9ddd1e97b1d1d1332a1251de468251bf75c652b (diff) | |
download | perl-dd25434e956a33182a7425d061a66bfd0d144323.tar.gz |
Install Safe in "site" instead of "perl" for perls > 5.10
That way it will override the Safe distributed with the core
without actually overwriting it, thanks to the @INC reordering.
-rw-r--r-- | dist/Safe/Makefile.PL | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dist/Safe/Makefile.PL b/dist/Safe/Makefile.PL index 0463e9c7db..abde68152f 100644 --- a/dist/Safe/Makefile.PL +++ b/dist/Safe/Makefile.PL @@ -5,6 +5,6 @@ my $core = grep { $_ eq 'PERL_CORE=1' } @ARGV; WriteMakefile( NAME => 'Safe', VERSION_FROM => 'Safe.pm', - INSTALLDIRS => 'perl', + INSTALLDIRS => ($] < 5.011 ? 'perl' : 'site'), ($core || $] >= 5.011) ? () : (INST_LIB => '$(INST_ARCHLIB)'), ); |