$NetBSD: patch-aa,v 1.1.1.1 2000/01/14 15:19:28 dmcmahill Exp $ --- INSTALL.orig Thu Jun 19 13:29:29 1997 +++ INSTALL Wed Jan 12 01:26:03 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 )` @@ -558,5 +560,5 @@ esac -if [ "`type uname`" != "uname not found" ] ; then +if [ "`uname`" != "uname not found" ] ; then OSname=`uname -s` if [ "$OSname" = "AIX" ] ; then @@ -1042,4 +1044,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="$AcroSparcSunNum" + ExchDefaultNum="$ExchSparcSunNum" + ReadDefaultNum="$ReadSparcSunNum" + DistDefaultNum="$DistSparcSunNum" + DefaultName="SPARC/SunOS 4.1.3 and later" + ;; + esac ;; Linux)