blob: d671bdcb985b2367b820a8c92e800ef50825adc9 (
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.6 2008/08/10 16:09:17 joerg Exp $
--- INSTALL.orig Wed Jan 26 19:40:25 2000
+++ INSTALL Mon Apr 17 16:20:38 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" -o `uname -s` = "DragonFly" ] ; 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 )`
@@ -564,5 +566,5 @@
esac
-if [ "`type uname`" != "uname not found" ] ; then
+if [ "`uname`" != "uname not found" ] ; then
OSname=`uname -s`
if [ "$OSname" = "AIX" ] ; then
@@ -1048,4 +1050,30 @@
DistDefaultNum="$DistIntelBSDINum"
DefaultName="Intel/BSDI"
+ ;;
+ NetBSD | DragonFly)
+ MachArch=`uname -p`
+ case "$MachArch" in
+ alpha)
+ AcroDefaultNum="$AcroAlphaOSFNum"
+ ExchDefaultNum="$ExchAlphaOSFNum"
+ ReadDefaultNum="$ReadAlphaOSFNum"
+ DistDefaultNum="$DistAlphaOSFNum"
+ DefaultName="DEC Alpha/OSF1"
+ ;;
+ i386|amd64)
+ AcroDefaultNum="$AcroIntelLinuxNum"
+ ExchDefaultNum="$ExchIntelLinuxNum"
+ ReadDefaultNum="$ReadIntelLinuxNum"
+ DistDefaultNum="$DistIntelLinuxNum"
+ DefaultName="Intel/Linux"
+ ;;
+ sparc)
+ AcroDefaultNum="$AcroSparcSolarisNum"
+ ExchDefaultNum="$ExchSparcSolarisNum"
+ ReadDefaultNum="$ReadSparcSolarisNum"
+ DistDefaultNum="$DistSparcSolarisNum"
+ DefaultName="SPARC/Solaris 2.x"
+ ;;
+ esac
;;
Linux)
|