aboutsummaryrefslogtreecommitdiff
path: root/devel/cvslines/files/patch-INSTALL
blob: 6abc11a35d86efa7c547eb4872d473e9c062b7b1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
--- 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>;    
 
       }
   }