summaryrefslogtreecommitdiff
path: root/print/acroread5/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'print/acroread5/patches/patch-aa')
-rw-r--r--print/acroread5/patches/patch-aa52
1 files changed, 52 insertions, 0 deletions
diff --git a/print/acroread5/patches/patch-aa b/print/acroread5/patches/patch-aa
new file mode 100644
index 00000000000..07a24d49558
--- /dev/null
+++ b/print/acroread5/patches/patch-aa
@@ -0,0 +1,52 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/08/01 11:59:10 grant Exp $
+
+--- INSTALL.orig Tue Jul 2 08:09:57 2002
++++ INSTALL
+@@ -82,7 +82,7 @@ OutputLicense ()
+ fi
+
+ TypeCheck $PAGER
+- if [ $? -ne 0 ] || [ -z "$PAGER" ] ; then
++ if [ $? -eq 0 ] || [ -z "$PAGER" ] ; then
+ command=cat
+ TypeCheck pg
+ if [ $? -eq 0 ] ; then
+@@ -135,6 +135,8 @@ PrintRequiredFree()
+ if [ "$i" -a -f "$i" ] ; then
+ 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
+@@ -276,6 +278,8 @@ GetInstallDirectory ()
+ AIX)
+ defdir="/usr/lpp/Acrobat5"
+ ;;
++ NetBSD)
++ ;;
+ esac
+
+ while [ -z "$InstallDir" ] ; do
+@@ -528,6 +532,20 @@ case "$OSname" in
+ ReadDefaultNum="$ReadIntelLinuxNum"
+ DefaultName="Intel/Linux"
+ ;;
++ NetBSD)
++ 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