diff options
Diffstat (limited to 'print/acroread/patches/patch-aa')
-rw-r--r-- | print/acroread/patches/patch-aa | 48 |
1 files changed, 33 insertions, 15 deletions
diff --git a/print/acroread/patches/patch-aa b/print/acroread/patches/patch-aa index 25d232798eb..92ca19d8b38 100644 --- a/print/acroread/patches/patch-aa +++ b/print/acroread/patches/patch-aa @@ -1,31 +1,49 @@ -$NetBSD: patch-aa,v 1.3 1999/06/17 01:04:29 sakamoto Exp $ +$NetBSD: patch-aa,v 1.4 2000/04/18 01:46:17 dmcmahill Exp $ ---- INSTALL.orig Thu Nov 7 00:04:53 1996 -+++ INSTALL Wed Nov 20 17:37:14 1996 -@@ -117,6 +117,8 @@ - if [ "$i" -a -f "$i" ] ; then +--- 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" ] ; 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 -@@ -559,7 +561,7 @@ - *) ScriptDirectory="$CurrentDirectory"/"$ScriptDirectory" ;; +@@ -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 - OSrelease=`uname -a | ( read name host minor major foo ; echo $major.$minor )` -@@ -1044,7 +1046,7 @@ +@@ -1048,4 +1050,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="$AcroSparcSolarisNum" ++ ExchDefaultNum="$ExchSparcSolarisNum" ++ ReadDefaultNum="$ReadSparcSolarisNum" ++ DistDefaultNum="$DistSparcSolarisNum" ++ DefaultName="SPARC/Solaris 2.x" ++ ;; ++ esac ;; -- Linux) -+ *BSD|Linux) - AcroDefaultNum="$AcroIntelLinuxNum" - ExchDefaultNum="$ExchIntelLinuxNum" - ReadDefaultNum="$ReadIntelLinuxNum" + Linux) |