openbsd-ports/print/acroread/patches/patch-aa
1998-06-08 02:36:00 +00:00

39 lines
1.3 KiB
Plaintext

--- 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
if [ `uname -s` = "Linux" ] ; then
size=`ls -lLn "$i" | ( read perm links owner group size date ; echo $size )`
+ elif [ `uname -s` = "OpenBSD" ] ; 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
@@ -486,7 +488,7 @@
SearchPlatformTar="$3"
CustomPlatformTar="$4"
- OutputLicense "$ReadLicense"
+# OutputLicense "$ReadLicense"
ReadLicense=""
PrintRequiredFree "$ReadTar" "$SearchTar" "$CustomTar" \
@@ -559,7 +561,7 @@
*) ScriptDirectory="$CurrentDirectory"/"$ScriptDirectory" ;;
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 @@
DistDefaultNum="$DistIntelBSDINum"
DefaultName="Intel/BSDI"
;;
- Linux)
+ OpenBSD|Linux)
AcroDefaultNum="$AcroIntelLinuxNum"
ExchDefaultNum="$ExchIntelLinuxNum"
ReadDefaultNum="$ReadIntelLinuxNum"