summaryrefslogtreecommitdiff
path: root/lang/perl5/patches/patch-ab
diff options
context:
space:
mode:
authoragc <agc>1997-10-06 14:51:03 +0000
committeragc <agc>1997-10-06 14:51:03 +0000
commitbd136b957e93fc4a1ec537687bf19c977d4f93ba (patch)
treee09348c800e8880ab1546ac9a88260dac0f5ee84 /lang/perl5/patches/patch-ab
parentaf751fd7e32f3be24acd1ef4c8a9dbfc68527cb8 (diff)
downloadpkgsrc-bd136b957e93fc4a1ec537687bf19c977d4f93ba.tar.gz
Initial import of FreeBSD lang ports into the NetBSD
packages system.
Diffstat (limited to 'lang/perl5/patches/patch-ab')
-rw-r--r--lang/perl5/patches/patch-ab29
1 files changed, 29 insertions, 0 deletions
diff --git a/lang/perl5/patches/patch-ab b/lang/perl5/patches/patch-ab
new file mode 100644
index 00000000000..e713b0655e9
--- /dev/null
+++ b/lang/perl5/patches/patch-ab
@@ -0,0 +1,29 @@
+--- installperl.ORIG Mon May 12 05:22:27 1997
++++ installperl Fri May 23 11:40:27 1997
+@@ -93,7 +93,7 @@
+ safe_unlink("$installbin/sperl$ver$exe_ext");
+ if ($d_dosuid) {
+ copy("suidperl$exe_ext", "$installbin/sperl$ver$exe_ext");
+- chmod(04711, "$installbin/sperl$ver$exe_ext");
++ chmod(04111, "$installbin/sperl$ver$exe_ext");
+ }
+
+ # Install library files.
+@@ -156,11 +156,12 @@
+ (-l $usrbinperl) &&
+ ((readlink $usrbinperl) eq $expinstperl));
+ }
+- if ((! $mainperl_is_instperl) &&
+- (yn("Many scripts expect perl to be installed as $usrbinperl.\n" .
+- "Do you wish to have $usrbinperl be the same as\n" .
+- "$expinstperl? [y] ")))
+- {
++# if ((! $mainperl_is_instperl) &&
++# (yn("Many scripts expect perl to be installed as $usrbinperl.\n" .
++# "Do you wish to have $usrbinperl be the same as\n" .
++# "$expinstperl? [y] ")))
++# {
++ if ('') { # MarkM - May 1997. Take the NO route always.
+ unlink($usrbinperl);
+ eval { CORE::link $instperl, $usrbinperl } ||
+ eval { symlink $expinstperl, $usrbinperl } ||