blob: 85c3c72c00086a05a7e37e3df19f5a31c96dc760 (
plain)
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
45
46
47
48
49
|
$NetBSD: patch-aa,v 1.1.1.1 2000/01/14 15:19:28 dmcmahill Exp $
--- INSTALL.orig Thu Jun 19 13:29:29 1997
+++ INSTALL Wed Jan 12 01:26:03 2000
@@ -116,4 +116,6 @@
if [ `uname -s` = "Linux" ] ; then
size=`ls -lLn "$i" | ( read perm links owner group size date ; echo $size )`
+ elif [ `uname -s|sed -e 's|.*\(...\)|\\1|'` = "BSD" ] ; then
+ size=`ls -lL "$i" | ( read perm links owner group size date ; echo $size )`
else
size=`ls -lLon "$i" | ( read perm links owner size date ; echo $size )`
@@ -558,5 +560,5 @@
esac
-if [ "`type uname`" != "uname not found" ] ; then
+if [ "`uname`" != "uname not found" ] ; then
OSname=`uname -s`
if [ "$OSname" = "AIX" ] ; then
@@ -1042,4 +1044,30 @@
DistDefaultNum="$DistIntelBSDINum"
DefaultName="Intel/BSDI"
+ ;;
+ NetBSD)
+ MachArch=`uname -p`
+ case "$MachArch" in
+ alpha)
+ AcroDefaultNum="$AcroAlphaOSFNum"
+ ExchDefaultNum="$ExchAlphaOSFNum"
+ ReadDefaultNum="$ReadAlphaOSFNum"
+ DistDefaultNum="$DistAlphaOSFNum"
+ DefaultName="DEC Alpha/OSF1"
+ ;;
+ i386)
+ AcroDefaultNum="$AcroIntelLinuxNum"
+ ExchDefaultNum="$ExchIntelLinuxNum"
+ ReadDefaultNum="$ReadIntelLinuxNum"
+ DistDefaultNum="$DistIntelLinuxNum"
+ DefaultName="Intel/Linux"
+ ;;
+ sparc)
+ AcroDefaultNum="$AcroSparcSunNum"
+ ExchDefaultNum="$ExchSparcSunNum"
+ ReadDefaultNum="$ReadSparcSunNum"
+ DistDefaultNum="$DistSparcSunNum"
+ DefaultName="SPARC/SunOS 4.1.3 and later"
+ ;;
+ esac
;;
Linux)
|