blob: 305dcc819b65c9dd99d8bb97f0b3778f825807fe (
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
$NetBSD: acroread.diff,v 1.5 2007/09/13 20:19:09 wiz Exp $
--- acroread.orig 2006-05-23 01:33:35.000000000 +0000
+++ acroread 2006-06-13 13:55:00.000000000 +0000
@@ -233,7 +233,7 @@ else
ScriptDirectory="`/bin/pwd 2> /dev/null`"
cd "$cwd"
fi
-install_dir=`dirname "$ScriptDirectory"`/Reader
+install_dir=@PREFIX@/Acrobat7/Reader
#
@@ -476,18 +476,18 @@ check_gtk_ver_and_set_lib_path()
OLD_IFS=""
# This checks for libs in cache /etc/ld.so.cache
- for ifile in `/sbin/ldconfig -p|grep "libgtk-x11-2.0.so$"|sed 's/.*[ \t]*=>[ \t]*\(.*\)/\1/g' 2>/dev/null`; do
- version=`get_gtk_file_ver "$ifile"`
-
- while [ ${#version} -gt ${#base_version} ]; do
- base_version="${base_version}0"
- done
-
- if [ $version -ge $base_version ]; then
- export LD_LIBRARY_PATH="`dirname "$ifile"`":"$LD_LIBRARY_PATH"
- return 0
- fi
- done
+# for ifile in `/sbin/ldconfig -p|grep "libgtk-x11-2.0.so$"|sed 's/.*[ \t]*=>[ \t]*\(.*\)/\1/g' 2>/dev/null`; do
+# version=`get_gtk_file_ver "$ifile"`
+#
+# while [ ${#version} -gt ${#base_version} ]; do
+# base_version="${base_version}0"
+# done
+#
+# if [ $version -ge $base_version ]; then
+# export LD_LIBRARY_PATH="`dirname "$ifile"`":"$LD_LIBRARY_PATH"
+# return 0
+# fi
+# done
return 1
}
@@ -614,6 +614,19 @@ case "$os_name" in
ACRO_CONFIG=intellinux
export ACRO_CONFIG
;;
+ NetBSD | DragonFly)
+ machine_type=`uname -p`
+ case "$machine_type" in
+ i386|x86_64)
+ ACRO_CONFIG=intellinux
+ export ACRO_CONFIG
+ ;;
+ sparc*)
+ ACRO_CONFIG=sparcsolaris
+ export ACRO_CONFIG
+ ;;
+ esac
+ ;;
AIX)
ACRO_CONFIG=rs6000aix
export ACRO_CONFIG
@@ -668,7 +681,7 @@ case "$ACRO_CONFIG" in
;;
esac
-DefaultPSRESPATH="$HOME/psres:$HOME/fonts:/usr/psres"
+DefaultPSRESPATH="$HOME/psres:$HOME/fonts:/usr/psres:@ACROREAD_FONTPATH@"
if [ -z "$PSRESOURCEPATH" ] ; then
PSRESOURCEPATH="$DefaultPSRESPATH"
else
|