From: Jarkko Hietaniemi Date: Mon, 6 Mar 2000 04:51:39 +0000 (+0000) Subject: Integrate with Sarathy. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=f82fed50423908a8d40f3a83f4f60df8cbc01b22;p=p5sagit%2Fp5-mst-13.2.git Integrate with Sarathy. p4raw-id: //depot/cfgperl@5569 --- f82fed50423908a8d40f3a83f4f60df8cbc01b22 diff --cc installperl index dd6d663,656943c..f56af9e --- a/installperl +++ b/installperl @@@ -25,7 -25,7 +25,6 @@@ use File::Compare use File::Copy (); use File::Path (); use ExtUtils::Packlist; --use Config; use subs qw(unlink link chmod); use vars qw($packlist); @@@ -75,7 -75,7 +74,7 @@@ my %archpms = Config => 1, ); --if ($^O eq 'dos') { ++if ($osname eq 'dos') { push(@scripts,'djgpp/fixpmain'); $archpms{config} = $archpms{filehand} = 1; } @@@ -184,7 -200,7 +199,7 @@@ if ($Is_VMS) copy("perlshr$exe_ext", "$installbin/${perl}shr$exe_ext"); chmod(0755, "$installbin/${perl}shr$exe_ext"); } --elsif ($^O eq 'mpeix') { ++elsif ($osname eq 'mpeix') { # MPE lacks hard links and requires that executables with special # capabilities reside in the MPE namespace. safe_unlink("$installbin/perl$ver$exe_ext", $Config{perlpath}); @@@ -247,8 -263,8 +262,8 @@@ else @corefiles = <*.h libperl*.*>; # AIX needs perl.exp installed as well. -- push(@corefiles,'perl.exp') if $^O eq 'aix'; -- if ($^O eq 'mpeix') { ++ push(@corefiles,'perl.exp') if $osname eq 'aix'; ++ if ($osname eq 'mpeix') { # MPE needs mpeixish.h installed as well. mkpath("$installarchlib/CORE/mpeix", 1, 0777); push(@corefiles,'mpeix/mpeixish.h'); @@@ -359,8 -375,8 +374,9 @@@ if (! $versiononly) if (! $versiononly) { safe_unlink("$installscript/pstruct$scr_ext"); -- if ($^O eq 'dos' or $Is_VMS) { ++ if ($osname eq 'dos' or $Is_VMS or $osname eq 'transit') { copy("$installscript/c2ph$scr_ext", "$installscript/pstruct$scr_ext"); ++ chmod(0755, "$installscript/pstruct$scr_ext"); } else { link("$installscript/c2ph$scr_ext", "$installscript/pstruct$scr_ext"); }