diff options
author | Nicholas Clark <nick@ccl4.org> | 2010-06-21 20:42:38 +0100 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2010-06-23 08:52:45 +0100 |
commit | f64e7edf51fa6878ada89003ea04b8672baadbb3 (patch) | |
tree | 304ba4ed70a16fe4fb9b9d64829dace2a8845f33 /lib/blib.pm | |
parent | 2b894b7afaeab63c3565bccc12e75832831eb18f (diff) | |
download | perl-f64e7edf51fa6878ada89003ea04b8672baadbb3.tar.gz |
Remove MacOS classic support from blib, diagnostics and Term::ReadLine.
ExtUtils::MakeMaker removed MacOS support in 6.25, merged to blead in December
2004, so this code is vestigial, and a small runtime penalty.
Diffstat (limited to 'lib/blib.pm')
-rw-r--r-- | lib/blib.pm | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/lib/blib.pm b/lib/blib.pm index f755e29b0d..854ec0b4f8 100644 --- a/lib/blib.pm +++ b/lib/blib.pm @@ -40,7 +40,7 @@ use Cwd; use File::Spec; use vars qw($VERSION $Verbose); -$VERSION = '1.04'; +$VERSION = '1.05'; $Verbose = 0; sub import @@ -73,15 +73,7 @@ sub import { $blib = File::Spec->catdir($dir, "blib"); $blib_lib = File::Spec->catdir($blib, "lib"); - - if ($^O eq 'MacOS') - { - $blib_arch = File::Spec->catdir($blib_lib, $MacPerl::Architecture); - } - else - { - $blib_arch = File::Spec->catdir($blib, "arch"); - } + $blib_arch = File::Spec->catdir($blib, "arch"); if (-d $blib && -d $blib_arch && -d $blib_lib) { |