Line 0
Link Here
|
|
|
1 |
- LOCALBASE patch: see PR 216236 |
2 |
|
3 |
--- Jamtop.orig 2016-09-28 02:58:53 UTC |
4 |
+++ Jamtop |
5 |
@@ -76,8 +76,8 @@ if $(UNIX) { |
6 |
LibWinH = /usr/X11R6/include ; |
7 |
} else if [ GLOB /usr/include/X11 : X.h ] { |
8 |
LibWinH = /usr/include ; |
9 |
- } else if [ GLOB /usr/local/include/X11 : X.h ] { |
10 |
- LibWinH = /usr/local/include ; |
11 |
+ } else if [ GLOB $(LOCALBASE)/include/X11 : X.h ] { |
12 |
+ LibWinH = $(LOCALBASE)/include ; |
13 |
} else { |
14 |
EXIT Unable to locate the X11 include files ; |
15 |
} |
16 |
@@ -91,8 +91,8 @@ if $(UNIX) { |
17 |
LibWinD = /usr/lib64 ; |
18 |
} else if [ GLOB /usr/lib : libX11.so libX11.a ] { |
19 |
LibWinD = /usr/lib ; |
20 |
- } else if [ GLOB /usr/local/lib : libX11.so libX11.a ] { |
21 |
- LibWinD = /usr/local/lib ; |
22 |
+ } else if [ GLOB $(LOCALBASE)/lib : libX11.so libX11.a ] { |
23 |
+ LibWinD = $(LOCALBASE)/lib ; |
24 |
} else { |
25 |
ECHO Unable to locate the 64 bit X11 library files ; |
26 |
} |
27 |
@@ -103,8 +103,8 @@ if $(UNIX) { |
28 |
LibWinD = /usr/lib/i386-linux-gnu ; |
29 |
} else if [ GLOB /usr/lib : libX11.so libX11.a ] { |
30 |
LibWinD = /usr/lib ; |
31 |
- } else if [ GLOB /usr/local/lib : libX11.so libX11.a ] { |
32 |
- LibWinD = /usr/local/lib ; |
33 |
+ } else if [ GLOB $(LOCALBASE)/lib : libX11.so libX11.a ] { |
34 |
+ LibWinD = $(LOCALBASE)/lib ; |
35 |
} else { |
36 |
ECHO Unable to locate the 32 bit X11 library files ; |
37 |
} |
38 |
@@ -140,11 +140,11 @@ rule CheckForLibrary { |
39 |
|
40 |
if ! $(BUILTIN_$(UCASE)) && $(UNIX) { |
41 |
if [ GLOB /usr/include$(subd) : $(lcase).h $(lcase)lib.h ] |
42 |
- || [ GLOB /usr/local/include$(subd) : $(lcase).h $(lcase)lib.h ] |
43 |
+ || [ GLOB $(LOCALBASE)/include$(subd) : $(lcase).h $(lcase)lib.h ] |
44 |
|| [ GLOB /usr/include/x86_64-linux-gnu$(subd) : $(lcase).h $(lcase)lib.h ] |
45 |
|| [ GLOB /usr/include/i386-linux-gnu$(subd) : $(lcase).h $(lcase)lib.h ] { |
46 |
if [ GLOB /usr/lib : lib$(lcase).so ] || [ GLOB /usr/lib : lib$(lcase).a ] |
47 |
- || [ GLOB /usr/local/lib : lib$(lcase).so ] || [ GLOB /usr/local/lib : lib$(lcase).a ] |
48 |
+ || [ GLOB $(LOCALBASE)/lib : lib$(lcase).so ] || [ GLOB $(LOCALBASE)/lib : lib$(lcase).a ] |
49 |
|| [ GLOB /usr/lib64 : lib$(lcase).so ] || [ GLOB /usr/lib64 : lib$(lcase).a ] |
50 |
|| [ GLOB /usr/lib/x86_64-linux-gnu : lib$(lcase).so ] |
51 |
|| [ GLOB /usr/lib/x86_64-linux-gnu : lib$(lcase).a ] |