Package: ncl / 6.3.0-13

support-archs.patch Patch series | download
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
Author: Alastair McKinstry <mckinstry@debian.org>
Description: Support more architectures under Debian.
Last-Updated: 2014-03-24
Forwarded: no

Index: ncl-6.3.0/config/ymake
===================================================================
--- ncl-6.3.0.orig/config/ymake
+++ ncl-6.3.0/config/ymake
@@ -271,6 +271,14 @@ case FreeBSD:
 case Darwin:
         set opsys = $foo
         breaksw
+case GNU/kFreeBSD:
+	# GNU/kFreeBSD on DEBIAN
+	set opsys = DEBIAN
+	breaksw
+case GNU:
+	# GNU/Hurd on Debian
+	set opsys = DEBIAN
+	breaksw
 case CYGWIN*:
         set opsys = CYGWIN
         breaksw
@@ -356,6 +364,14 @@ case    AIX:
 
         breaksw
 
+case 	DEBIAN:
+	set os = $opsys
+	set model = $mach
+	set arch = $mach
+	set sysincs = DEBIAN
+	set vendor = DEBIAN
+	breaksw
+
 case    Linux:
         set os = $opsys
 
@@ -365,19 +381,18 @@ case    Linux:
 	case    amd64:
         case    i*64:
         case    x*64:
-        case    p*64:
+        case    s390*:
+        case    mip*:
+        case    sparc*:
+        case    arm*:
+        case    ppc*:
+        case    aarch64*:
         case    alpha:
             set model   = $mach
             set arch    = $mach
             set sysincs = LINUX
             set vendor  = IBM
             breaksw
-        case    ppc:
-            set model   = $mach
-            set arch    = $mach
-            set sysincs = YDLINUX
-            set vendor  = APPLE
-            breaksw
         default:
             echo "$0 : Unknown machine type" 
             exit 1