52fdce233e
setting the SGE arch. Should fix x86_64 (amd64) as well as others that have a different MACHINE and MACHINE_ARCH. Noted on the SGE developers list by Nicolas Joly
28 lines
683 B
Text
28 lines
683 B
Text
$NetBSD: patch-as,v 1.2 2004/05/19 06:53:38 dmcmahill Exp $
|
|
|
|
--- source/dist/util/arch.orig Thu Apr 22 13:41:08 2004
|
|
+++ source/dist/util/arch Wed May 19 06:37:17 2004
|
|
@@ -56,4 +56,5 @@
|
|
os="`/usr/bin/uname -s`"
|
|
ht="`/usr/bin/uname -m`"
|
|
+ ha="`/usr/bin/uname -p`"
|
|
osht="$os,$ht"
|
|
case $osht in
|
|
@@ -64,4 +65,7 @@
|
|
ARCH=fbsd-$ht
|
|
;;
|
|
+ NetBSD,*)
|
|
+ ARCH=nbsd-$ha
|
|
+ ;;
|
|
esac
|
|
fi
|
|
@@ -272,4 +276,9 @@
|
|
PATH=$OLD_PATH
|
|
DEFAULTMANPATH=`/usr/bin/manpath -q`
|
|
+ PATH=$SAFE_PATH
|
|
+ ;;
|
|
+ nbsd-*)
|
|
+ PATH=$OLD_PATH
|
|
+ DEFAULTMANPATH=/usr/pkg/man:/usr/local/man:/usr/X11R6/man:/usr/share/man
|
|
PATH=$SAFE_PATH
|
|
;;
|