blob: f232f156541469e7a2f51f763062e168f6ace319 (
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.1.1.1 2008/04/06 01:43:32 toshii Exp $
--- INSTALL.orig 2008-01-16 08:47:52.000000000 +0900
+++ INSTALL
@@ -53,7 +53,7 @@ MkTemp()
mktemp_file="/tmp/acrobat.$$.${mktemp_count}"
- while /usr/bin/test -e "$mktemp_file"
+ while test -e "$mktemp_file"
do
mktemp_count="`expr $mktemp_count + 1`"
mktemp_file="/tmp/adobe.$$.${mktemp_count}"
@@ -112,6 +112,8 @@ PrintRequiredFree()
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
@@ -562,6 +564,8 @@ InstallReader()
MakeLibGnomeSpeechLinks "$ReadInstallDir" "$ReadConfig"
fi
+ return
+
rm -f /usr/bin/acroread 2>/dev/null && \
ln -s "$ReadInstallDir/Adobe/Reader8/bin/acroread" /usr/bin/acroread 2>/dev/null && \
record_config remove /usr/bin/acroread
@@ -804,6 +808,20 @@ case "$OSname" in
ReadDefaultNum="$ReadIntelLinuxNum"
DefaultName="Intel/Linux"
;;
+ NetBSD | DragonFly)
+ MachArch=`uname -p`
+ case "$MachArch" in
+ i386|x86_64)
+ ReadDefaultNum="$ReadIntelLinuxNum"
+ DefaultName="Intel/Linux"
+ ;;
+ sparc*)
+ ReadDefaultNum="$ReadSparcSolarisNum"
+ DefaultName="SPARC/Solaris 2.x"
+ ;;
+ esac
+ ;;
+
esac
if [ -z "$ReadDefaultNum" ] ; then
|