1 |
keri 10/02/20 08:08:24 |
2 |
|
3 |
Modified: mercury-extras-10.04_beta1-lex.patch |
4 |
Added: mercury-extras-10.04_beta1-no-java-grade.patch |
5 |
Log: |
6 |
Disable java-grade in install_libgrades |
7 |
(Portage version: 2.1.7.16/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.2 dev-lang/mercury-extras/files/mercury-extras-10.04_beta1-lex.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/mercury-extras/files/mercury-extras-10.04_beta1-lex.patch?rev=1.2&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/mercury-extras/files/mercury-extras-10.04_beta1-lex.patch?rev=1.2&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/mercury-extras/files/mercury-extras-10.04_beta1-lex.patch?r1=1.1&r2=1.2 |
15 |
|
16 |
Index: mercury-extras-10.04_beta1-lex.patch |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-lang/mercury-extras/files/mercury-extras-10.04_beta1-lex.patch,v |
19 |
retrieving revision 1.1 |
20 |
retrieving revision 1.2 |
21 |
diff -u -r1.1 -r1.2 |
22 |
--- mercury-extras-10.04_beta1-lex.patch 13 Feb 2010 02:53:04 -0000 1.1 |
23 |
+++ mercury-extras-10.04_beta1-lex.patch 20 Feb 2010 08:08:24 -0000 1.2 |
24 |
@@ -20,6 +20,8 @@ |
25 |
+ |
26 |
+MAIN_TARGET = all |
27 |
+ |
28 |
++LIBGRADES := $(filter-out java,$(LIBGRADES)) |
29 |
++ |
30 |
+.PHONEY: all depend install |
31 |
+ |
32 |
+all: liblex libregex |
33 |
@@ -27,5 +29,5 @@ |
34 |
+depend: lex.depend regex.depend |
35 |
+ |
36 |
+install: |
37 |
-+ $(MMAKE) $(MMAKEFLAGS) liblex.install |
38 |
-+ $(MMAKE) $(MMAKEFLAGS) libregex.install |
39 |
++ $(MMAKE) liblex.install |
40 |
++ $(MMAKE) libregex.install |
41 |
|
42 |
|
43 |
|
44 |
1.1 dev-lang/mercury-extras/files/mercury-extras-10.04_beta1-no-java-grade.patch |
45 |
|
46 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/mercury-extras/files/mercury-extras-10.04_beta1-no-java-grade.patch?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/mercury-extras/files/mercury-extras-10.04_beta1-no-java-grade.patch?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: mercury-extras-10.04_beta1-no-java-grade.patch |
50 |
=================================================================== |
51 |
diff -ur mercury-extras-10.04-beta.orig/cgi/Mmakefile mercury-extras-10.04-beta/cgi/Mmakefile |
52 |
--- mercury-extras-10.04-beta.orig/cgi/Mmakefile 2004-07-30 19:01:07.000000000 +1200 |
53 |
+++ mercury-extras-10.04-beta/cgi/Mmakefile 2010-02-20 19:37:53.000000000 +1300 |
54 |
@@ -12,6 +12,8 @@ |
55 |
|
56 |
MAIN_TARGET = $(LIBRARY) |
57 |
|
58 |
+LIBGRADES := $(filter-out java,$(LIBGRADES)) |
59 |
+ |
60 |
MCFLAGS-mercury_www = --no-warn-nothing-exported |
61 |
|
62 |
depend: mercury_www.depend |
63 |
diff -ur mercury-extras-10.04-beta.orig/complex_numbers/Mmakefile mercury-extras-10.04-beta/complex_numbers/Mmakefile |
64 |
--- mercury-extras-10.04-beta.orig/complex_numbers/Mmakefile 2003-01-16 23:44:11.000000000 +1300 |
65 |
+++ mercury-extras-10.04-beta/complex_numbers/Mmakefile 2010-02-20 19:41:36.000000000 +1300 |
66 |
@@ -10,6 +10,8 @@ |
67 |
|
68 |
MAIN_TARGET = all |
69 |
|
70 |
+LIBGRADES := $(filter-out java,$(LIBGRADES)) |
71 |
+ |
72 |
all: libcomplex_numbers |
73 |
|
74 |
depend: complex_numbers.depend |
75 |
diff -ur mercury-extras-10.04-beta.orig/curs/Mmakefile mercury-extras-10.04-beta/curs/Mmakefile |
76 |
--- mercury-extras-10.04-beta.orig/curs/Mmakefile 2003-01-16 23:44:14.000000000 +1300 |
77 |
+++ mercury-extras-10.04-beta/curs/Mmakefile 2010-02-20 19:42:26.000000000 +1300 |
78 |
@@ -26,7 +26,7 @@ |
79 |
# Omit this line if you want to install the default grades. |
80 |
# Edit this line if you want to install with different grades. |
81 |
# |
82 |
-#LIBGRADES = asm_fast.gc hlc.gc |
83 |
+LIBGRADES := $(filter-out java,$(LIBGRADES)) |
84 |
|
85 |
# The following standard libraries must be linked against in any |
86 |
# application using the curs library (i.e. MLLIBS must include |
87 |
diff -ur mercury-extras-10.04-beta.orig/curses/Mmakefile mercury-extras-10.04-beta/curses/Mmakefile |
88 |
--- mercury-extras-10.04-beta.orig/curses/Mmakefile 2003-01-16 23:44:15.000000000 +1300 |
89 |
+++ mercury-extras-10.04-beta/curses/Mmakefile 2010-02-20 19:43:04.000000000 +1300 |
90 |
@@ -13,6 +13,8 @@ |
91 |
# this line to include the appropriate curses library for your OS. |
92 |
MLLIBS = -lncurses |
93 |
|
94 |
+LIBGRADES := $(filter-out java,$(LIBGRADES)) |
95 |
+ |
96 |
-include ../Mmake.params |
97 |
|
98 |
default_target: libmcurses |
99 |
diff -ur mercury-extras-10.04-beta.orig/dynamic_linking/Mmakefile mercury-extras-10.04-beta/dynamic_linking/Mmakefile |
100 |
--- mercury-extras-10.04-beta.orig/dynamic_linking/Mmakefile 2005-01-25 20:49:05.000000000 +1300 |
101 |
+++ mercury-extras-10.04-beta/dynamic_linking/Mmakefile 2010-02-20 19:43:42.000000000 +1300 |
102 |
@@ -17,6 +17,8 @@ |
103 |
CFLAGS = -g |
104 |
MLFLAGS += --no-strip |
105 |
|
106 |
+LIBGRADES := $(filter-out java,$(LIBGRADES)) |
107 |
+ |
108 |
-include ../Mmake.params |
109 |
|
110 |
main_target: libdl |
111 |
diff -ur mercury-extras-10.04-beta.orig/graphics/mercury_glut/Mmakefile mercury-extras-10.04-beta/graphics/mercury_glut/Mmakefile |
112 |
--- mercury-extras-10.04-beta.orig/graphics/mercury_glut/Mmakefile 2006-03-30 14:52:44.000000000 +1200 |
113 |
+++ mercury-extras-10.04-beta/graphics/mercury_glut/Mmakefile 2010-02-20 19:44:06.000000000 +1300 |
114 |
@@ -10,6 +10,8 @@ |
115 |
|
116 |
MAIN_TARGET = libmercury_glut |
117 |
|
118 |
+LIBGRADES := $(filter-out java,$(LIBGRADES)) |
119 |
+ |
120 |
# The following libraries are for X on Linux (Debian) using Mesa. |
121 |
|
122 |
# Libaries required by X windows. |
123 |
diff -ur mercury-extras-10.04-beta.orig/graphics/mercury_opengl/Mmakefile mercury-extras-10.04-beta/graphics/mercury_opengl/Mmakefile |
124 |
--- mercury-extras-10.04-beta.orig/graphics/mercury_opengl/Mmakefile 2007-10-11 19:21:31.000000000 +1300 |
125 |
+++ mercury-extras-10.04-beta/graphics/mercury_opengl/Mmakefile 2010-02-20 19:44:43.000000000 +1300 |
126 |
@@ -15,6 +15,8 @@ |
127 |
|
128 |
MAIN_TARGET = libmercury_opengl |
129 |
|
130 |
+LIBGRADES := $(filter-out java,$(LIBGRADES)) |
131 |
+ |
132 |
# Specify what libraries we need to link against for OpenGL on this system. |
133 |
# (The following works on Debian with mesa as the OpenGL implementation). |
134 |
GL_LIBS = -lGL -lGLU -L/usr/X11R6/lib -lX11 -lXt -lICE -lXext -lSM |
135 |
diff -ur mercury-extras-10.04-beta.orig/graphics/mercury_tcltk/Mmakefile mercury-extras-10.04-beta/graphics/mercury_tcltk/Mmakefile |
136 |
--- mercury-extras-10.04-beta.orig/graphics/mercury_tcltk/Mmakefile 2005-08-15 16:11:42.000000000 +1200 |
137 |
+++ mercury-extras-10.04-beta/graphics/mercury_tcltk/Mmakefile 2010-02-20 19:44:24.000000000 +1300 |
138 |
@@ -21,6 +21,8 @@ |
139 |
|
140 |
MAIN_TARGET = $(LIBRARY) |
141 |
|
142 |
+LIBGRADES := $(filter-out java,$(LIBGRADES)) |
143 |
+ |
144 |
depend: mercury_tcltk.depend |
145 |
|
146 |
install: libmercury_tcltk.install |
147 |
diff -ur mercury-extras-10.04-beta.orig/lazy_evaluation/Mmakefile mercury-extras-10.04-beta/lazy_evaluation/Mmakefile |
148 |
--- mercury-extras-10.04-beta.orig/lazy_evaluation/Mmakefile 2003-01-16 23:44:17.000000000 +1300 |
149 |
+++ mercury-extras-10.04-beta/lazy_evaluation/Mmakefile 2010-02-20 19:46:58.000000000 +1300 |
150 |
@@ -4,6 +4,8 @@ |
151 |
# Public License - see the file COPYING.LIB in the Mercury distribution. |
152 |
#-----------------------------------------------------------------------------# |
153 |
INSTALL_PREFIX := $(INSTALL_PREFIX)/extras |
154 |
+LIBGRADES := $(filter-out java,$(LIBGRADES)) |
155 |
+ |
156 |
-include ../Mmake.params |
157 |
default_target: all |
158 |
depend: lazy_list.depend lazy_list_test.depend |
159 |
diff -ur mercury-extras-10.04-beta.orig/moose/Mmakefile mercury-extras-10.04-beta/moose/Mmakefile |
160 |
--- mercury-extras-10.04-beta.orig/moose/Mmakefile 2003-01-16 23:44:20.000000000 +1300 |
161 |
+++ mercury-extras-10.04-beta/moose/Mmakefile 2010-02-20 19:45:19.000000000 +1300 |
162 |
@@ -6,6 +6,7 @@ |
163 |
|
164 |
# GRADE = asm_fast.gc.debug |
165 |
# GRADE = asm_fast.gc.prof |
166 |
+LIBGRADES := $(filter-out java,$(LIBGRADES)) |
167 |
|
168 |
# MCFLAGS = -O6 |
169 |
# MCFLAGS = --intermodule-optimization -O6 |
170 |
diff -ur mercury-extras-10.04-beta.orig/odbc/Mmakefile mercury-extras-10.04-beta/odbc/Mmakefile |
171 |
--- mercury-extras-10.04-beta.orig/odbc/Mmakefile 2006-04-03 18:19:54.000000000 +1200 |
172 |
+++ mercury-extras-10.04-beta/odbc/Mmakefile 2010-02-20 19:49:20.000000000 +1300 |
173 |
@@ -8,6 +8,7 @@ |
174 |
|
175 |
#-----------------------------------------------------------------------------# |
176 |
# Configuration |
177 |
+LIBGRADES := $(filter-out java,$(LIBGRADES)) |
178 |
|
179 |
# The driver manager. |
180 |
# Legal values for MODBC_DRIVER are MODBC_IODBC, MODBC_UNIX, and MODBC_MS. |
181 |
diff -ur mercury-extras-10.04-beta.orig/posix/Mmakefile mercury-extras-10.04-beta/posix/Mmakefile |
182 |
--- mercury-extras-10.04-beta.orig/posix/Mmakefile 2008-09-02 21:45:54.000000000 +1200 |
183 |
+++ mercury-extras-10.04-beta/posix/Mmakefile 2010-02-20 19:46:08.000000000 +1300 |
184 |
@@ -8,6 +8,8 @@ |
185 |
|
186 |
-include ../Mmake.params |
187 |
|
188 |
+LIBGRADES := $(filter-out java,$(LIBGRADES)) |
189 |
+ |
190 |
# The following is needed (on some systems) to enable declarations of |
191 |
# Posix functions in standard C header files. |
192 |
MGNUCFLAGS = --no-ansi |
193 |
diff -ur mercury-extras-10.04-beta.orig/quickcheck/Mmakefile mercury-extras-10.04-beta/quickcheck/Mmakefile |
194 |
--- mercury-extras-10.04-beta.orig/quickcheck/Mmakefile 2003-01-16 23:44:24.000000000 +1300 |
195 |
+++ mercury-extras-10.04-beta/quickcheck/Mmakefile 2010-02-20 19:47:12.000000000 +1300 |
196 |
@@ -10,6 +10,8 @@ |
197 |
|
198 |
MAIN_TARGET = all |
199 |
|
200 |
+LIBGRADES := $(filter-out java,$(LIBGRADES)) |
201 |
+ |
202 |
.PHONY: depend |
203 |
depend: qcheck.depend test_qcheck.depend |
204 |
|
205 |
diff -ur mercury-extras-10.04-beta.orig/xml/Mmakefile mercury-extras-10.04-beta/xml/Mmakefile |
206 |
--- mercury-extras-10.04-beta.orig/xml/Mmakefile 2002-03-06 23:10:31.000000000 +1300 |
207 |
+++ mercury-extras-10.04-beta/xml/Mmakefile 2010-02-20 19:46:26.000000000 +1300 |
208 |
@@ -8,6 +8,8 @@ |
209 |
|
210 |
INSTALL_PREFIX := $(INSTALL_PREFIX)/extras |
211 |
|
212 |
+LIBGRADES := $(filter-out java,$(LIBGRADES)) |
213 |
+ |
214 |
.PHONY: default_target |
215 |
default_target: tryit libxml |