blob: c425f550fe75c73756dc4bbe5011bcf8e45d7b26 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
$NetBSD: patch-af,v 1.3 2002/01/08 09:55:04 tron Exp $
--- libdi_d/config.sh.orig Mon Jul 16 19:52:02 2001
+++ libdi_d/config.sh Tue Jan 8 10:39:13 2002
@@ -1287,12 +1287,7 @@
elif [ "$OS_SYS" = NetBSD ] || [ "$OS_SYS" = OpenBSD ]
then
# NetBSD/OpenBSD
- if [ "$IS_SCSI" -eq 1 ]
- then
- DEVPREF=/dev/rcd
- else
- DEVPREF=/dev/rwcd
- fi
+ DEVPREF=/dev/rcd
case "$OS_MACH" in
*86)
DEVSUFF=d
@@ -2001,7 +1996,7 @@
# Get platform information
OS_SYS=`(uname -s) 2>/dev/null`
OS_REL=`(uname -r) 2>/dev/null`
-OS_MACH=`(uname -m) 2>/dev/null`
+OS_MACH=@MACHINE_ARCH@
OS_NODE=`(uname -n) 2>/dev/null`
if [ -z "$OS_SYS" ]
|