blob: 2ad724deea1959f6dbb026d72405c2d5bad9cb8c (
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
50
51
52
|
$NetBSD: patch-aa,v 1.4 2006/09/06 13:04:58 hira Exp $
--- INSTALL.orig 2006-05-23 10:33:34.000000000 +0900
+++ INSTALL 2006-09-06 21:23:16.000000000 +0900
@@ -287,6 +287,8 @@
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 )`
fi
@@ -398,6 +400,8 @@
AIX)
defdir="/usr/lpp/Adobe/Acrobat7.0"
;;
+ NetBSD | DragonFly)
+ ;;
esac
while [ -z "$InstallDir" ] ; do
@@ -806,6 +810,8 @@
echo "$ST_IBP_INFO_22_1" \"$ReadInstallDir/Browser/install_browser_plugin\" "$ST_IBP_INFO_22_2"
fi
+ return
+
rm -f /usr/bin/acroread 2>/dev/null
ln -s "$ReadInstallDir"/bin/acroread /usr/bin/acroread 2>/dev/null
@@ -1073,6 +1079,20 @@
ReadDefaultNum="$ReadIntelLinuxNum"
DefaultName="Intel/Linux"
;;
+ NetBSD | DragonFly)
+ MachArch=`uname -p`
+ case "$MachArch" in
+ i386)
+ ReadDefaultNum="$ReadIntelLinuxNum"
+ DefaultName="Intel/Linux"
+ ;;
+ sparc*)
+ ReadDefaultNum="$ReadSparcSolarisNum"
+ DefaultName="SPARC/Solaris 2.x"
+ ;;
+ esac
+ ;;
+
esac
if [ -z "$ReadDefaultNum" ] ; then
|