openbsd-ports/print/acroread/patches/patch-aa
1999-07-14 10:54:19 +00:00

82 lines
2.2 KiB
Plaintext

*** INSTALL.orig Mon May 24 10:31:43 1999
--- INSTALL Mon Jul 12 17:38:26 1999
***************
*** 115,120 ****
--- 115,122 ----
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
***************
*** 151,157 ****
ExtractFiles ()
{
! ( cd "$1" ; tar xfo "$2" )
}
InstallFiles ()
--- 153,159 ----
ExtractFiles ()
{
! ( cd "$1" ; tar xf "$2" )
}
InstallFiles ()
***************
*** 481,487 ****
SearchPlatformTar="$3"
CustomPlatformTar="$4"
! OutputLicense "$ReadLicense"
ReadLicense=""
PrintRequiredFree "$ReadTar" "$SearchTar" "$CustomTar" \
--- 483,489 ----
SearchPlatformTar="$3"
CustomPlatformTar="$4"
! # OutputLicense "$ReadLicense"
ReadLicense=""
PrintRequiredFree "$ReadTar" "$SearchTar" "$CustomTar" \
***************
*** 554,560 ****
*) ScriptDirectory="$CurrentDirectory"/"$ScriptDirectory" ;;
esac
! if [ "`type uname`" != "uname not found" ] ; then
OSname=`uname -s`
if [ "$OSname" = "AIX" ] ; then
OSrelease=`uname -a | ( read name host minor major foo ; echo $major.$minor )`
--- 556,562 ----
*) ScriptDirectory="$CurrentDirectory"/"$ScriptDirectory" ;;
esac
! 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 )`
***************
*** 1039,1045 ****
DistDefaultNum="$DistIntelBSDINum"
DefaultName="Intel/BSDI"
;;
! Linux)
AcroDefaultNum="$AcroIntelLinuxNum"
ExchDefaultNum="$ExchIntelLinuxNum"
ReadDefaultNum="$ReadIntelLinuxNum"
--- 1041,1047 ----
DistDefaultNum="$DistIntelBSDINum"
DefaultName="Intel/BSDI"
;;
! OpenBSD|Linux)
AcroDefaultNum="$AcroIntelLinuxNum"
ExchDefaultNum="$ExchIntelLinuxNum"
ReadDefaultNum="$ReadIntelLinuxNum"