ports/devel/cvslines/files/patch-INSTALL
Mathieu Arnold 525f53f016 Fix install for Perl > 5.10.
(Yes, really.)

PR:		239742
2019-08-12 10:34:22 +00:00

44 lines
1.2 KiB
Text

--- INSTALL.orig 2003-07-28 12:34:07 UTC
+++ INSTALL
@@ -73,7 +73,7 @@ sub x
}
-$uname = `/bin/uname -a`; chop $uname;
+$uname = `/usr/bin/uname -a`; chop $uname;
($u_os, $u_host, $u_osrel) = split(/\s+/, $uname);
# Try to find things in the usual places, but failing those,
@@ -122,6 +122,7 @@ if ($op eq "install")
if ( ! ( ($u_os eq "SunOS" && $u_osrel =~ /^5\./)
|| ($u_os eq "SunOS" && $u_osrel =~ /^4\./)
|| ($u_os eq "OSF1" && $u_osrel =~ /^V[34]\./)
+ || ($u_os eq "FreeBSD")
|| ($u_os eq "Linux")))
{
print STDERR <<MSG;
@@ -134,13 +135,13 @@ $Myname:
(press Return to continue with the install...)
MSG
- $ans = <STDIN>;
+# $ans = <STDIN>;
}
$cvs_versmsg = `cvs -v`;
if ($cvs_versmsg !~ /\nConcurrent Versions System\s+\(CVS\)\s+1\.11\s+/)
{
- $starsave = $*; $* = 1; $cvs_versmsg =~ s/^/ /g; $* = $starsave;
+ $cvs_versmsg =~ s/^/ /gm;
print STDERR <<MSG;
$Myname:
@@ -151,7 +152,7 @@ $Myname:
$cvs_versmsg
(press Return to continue with the install...)
MSG
- $ans = <STDIN>;
+# $ans = <STDIN>;
}
}