File: java-paths.patch

package info (click to toggle)
gridengine 8.1.9%2Bdfsg-13.2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 57,848 kB
  • sloc: ansic: 432,690; java: 87,068; cpp: 31,958; sh: 29,445; jsp: 7,757; perl: 6,336; xml: 5,828; makefile: 4,705; csh: 3,934; ruby: 2,221; tcl: 1,676; lisp: 669; yacc: 519; python: 503; lex: 361; javascript: 200
file content (38 lines) | stat: -rw-r--r-- 1,375 bytes parent folder | download | duplicates (6)
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
Description: Fix JAVA_LIB_ARCH paths for certain architectures
 Some architectures have unconventional (or just undefined, in the case of
 alpha) paths to Java libraries. See Debian #828873. This patch works
 arounds those inconsistencies to fix the package building on mips64el,
 sparc64, and arm64. The build for alpha should also be working now.
Author: Afif Elghraoui <afif@debian.org>
Forwarded: no
Last-Update: 2016-08-28
--- pkg-gridengine.orig/source/aimk
+++ pkg-gridengine/source/aimk
@@ -1957,8 +1957,9 @@
          case lx-mips:
          case lx-mipsel:
          case lx-ppc:
-         case lx-sparc: # debian squeeze; no openjdk in wheezy, but has gcj
          case lx-ppc64le:       # Fedora                                     
+	 case ulx-alpha:
+	 case lx-alpha:
              set JAVA_LIB_ARCH = `expr substr $buildarch 4 9`
              breaksw
          case lx-ppc64:
@@ -1972,9 +1973,15 @@
              if ($FORCE_32BIT == 1) then
                 set JAVA_LIB_ARCH = arm
              else
-                set JAVA_LIB_ARCH = arm64
+                set JAVA_LIB_ARCH = aarch64
              endif
              breaksw
+	 case lx-mips64:
+	      set JAVA_LIB_ARCH = mips64el
+	      breaksw
+	 case lx-sparc:
+	      set JAVA_LIB_ARCH = sparcv9
+	      breaksw
          case hp11:
              set JAVA_LIB_ARCH = PA_RISC
              breaksw