summaryrefslogtreecommitdiff
path: root/lang/smlnj11072/patches/patch-ac
blob: b36f0575a394f869bb854041f7ed32d177535f61 (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
$NetBSD: patch-ac,v 1.1 2016/07/03 17:50:31 dholland Exp $

--- config/_arch-n-opsys.orig	2008-08-13 22:37:59.000000000 +0400
+++ config/_arch-n-opsys	2009-01-27 17:24:34.000000000 +0300
@@ -118,13 +118,15 @@
     ;;
   NetBSD)
     case `uname -r` in
-      2*) OPSYS=netbsd2;;
-      3*) OPSYS=netbsd;;
-      *) exit 1;;
+      1.*)  exit 1;;
+      2.*) OPSYS=netbsd2;;
+      *) OPSYS=netbsd;;
     esac
     HEAP_OPSYS=bsd
-    case `uname -m` in
+    case `uname -p` in
       *86) ARCH=x86;;
+      powerpc) ARCH=ppc;;
+      sparc) ARCH=sparc;;
       *) exit 1;;
     esac
     ;;