1 |
commit: d6085e36d9586a45e3ba9f1250cca36704c56b00 |
2 |
Author: layman <layman <AT> localhost> |
3 |
AuthorDate: Tue Jul 8 15:09:16 2014 +0000 |
4 |
Commit: Michael Weber <xmw <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jul 8 15:09:16 2014 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/xmw.git;a=commit;h=d6085e36 |
7 |
|
8 |
Version bump, parallel stuff |
9 |
|
10 |
Package-Manager: portage-2.2.10 |
11 |
Manifest-Sign-Key: |
12 |
|
13 |
--- |
14 |
dev-util/eclipse-clp/ChangeLog | 23 +++++ |
15 |
dev-util/eclipse-clp/Manifest | 14 +-- |
16 |
....1.187-r1.ebuild => eclipse-clp-6.1.189.ebuild} | 99 +++++++++++++++------- |
17 |
...1.187-AR.patch => eclipse-clp-6.1.189-AR.patch} | 0 |
18 |
.../files/eclipse-clp-6.1.189-Alog-64bit.patch | 42 +++++++++ |
19 |
...ch => eclipse-clp-6.1.189-Eplex-Makefile.patch} | 0 |
20 |
...tch => eclipse-clp-6.1.189-Eplex-include.patch} | 0 |
21 |
...r.patch => eclipse-clp-6.1.189-Oci-mkdir.patch} | 0 |
22 |
.../files/eclipse-clp-6.1.189-Pds-64bit.patch | 61 +++++++++++++ |
23 |
.../files/eclipse-clp-6.1.189-Usc-64bit.patch | 42 +++++++++ |
24 |
...ch => eclipse-clp-6.1.189-icparc_solvers.patch} | 0 |
25 |
...mysql.patch => eclipse-clp-6.1.189-mysql.patch} | 0 |
26 |
...l8.6.patch => eclipse-clp-6.1.189-tcl8.6.patch} | 0 |
27 |
.../files/eclipse-clp-6.1.189-weclipse.patch | 80 +++++++++++++++++ |
28 |
dev-util/eclipse-clp/metadata.xml | 1 + |
29 |
15 files changed, 317 insertions(+), 45 deletions(-) |
30 |
|
31 |
diff --git a/dev-util/eclipse-clp/ChangeLog b/dev-util/eclipse-clp/ChangeLog |
32 |
index 5835420..f2d9d5f 100644 |
33 |
--- a/dev-util/eclipse-clp/ChangeLog |
34 |
+++ b/dev-util/eclipse-clp/ChangeLog |
35 |
@@ -1,3 +1,26 @@ |
36 |
+*eclipse-clp-6.1.189 (08 Jul 2014) |
37 |
+ |
38 |
+ 08 Jul 2014; Michael Weber <xmw@g.o> +eclipse-clp-6.1.189.ebuild, |
39 |
+ +files/eclipse-clp-6.1.189-AR.patch, |
40 |
+ +files/eclipse-clp-6.1.189-Alog-64bit.patch, |
41 |
+ +files/eclipse-clp-6.1.189-Eplex-Makefile.patch, |
42 |
+ +files/eclipse-clp-6.1.189-Eplex-include.patch, |
43 |
+ +files/eclipse-clp-6.1.189-Oci-mkdir.patch, |
44 |
+ +files/eclipse-clp-6.1.189-Pds-64bit.patch, |
45 |
+ +files/eclipse-clp-6.1.189-Usc-64bit.patch, |
46 |
+ +files/eclipse-clp-6.1.189-icparc_solvers.patch, |
47 |
+ +files/eclipse-clp-6.1.189-mysql.patch, |
48 |
+ +files/eclipse-clp-6.1.189-tcl8.6.patch, |
49 |
+ +files/eclipse-clp-6.1.189-weclipse.patch, -eclipse-clp-6.1.187-r1.ebuild, |
50 |
+ -files/eclipse-clp-6.1.187-AR.patch, |
51 |
+ -files/eclipse-clp-6.1.187-Eplex-Makefile.patch, |
52 |
+ -files/eclipse-clp-6.1.187-Eplex-include.patch, |
53 |
+ -files/eclipse-clp-6.1.187-Oci-mkdir.patch, |
54 |
+ -files/eclipse-clp-6.1.187-icparc_solvers.patch, |
55 |
+ -files/eclipse-clp-6.1.187-mysql.patch, |
56 |
+ -files/eclipse-clp-6.1.187-tcl8.6.patch, metadata.xml: |
57 |
+ Version bump, parallel stuff |
58 |
+ |
59 |
20 May 2014; Michael Weber <xmw@g.o> eclipse-cpl-6.1.187.ebuild: |
60 |
revert to default use flags |
61 |
|
62 |
|
63 |
diff --git a/dev-util/eclipse-clp/Manifest b/dev-util/eclipse-clp/Manifest |
64 |
index f2e00fe..41c8302 100644 |
65 |
--- a/dev-util/eclipse-clp/Manifest |
66 |
+++ b/dev-util/eclipse-clp/Manifest |
67 |
@@ -1,13 +1 @@ |
68 |
------BEGIN PGP SIGNED MESSAGE----- |
69 |
-Hash: SHA256 |
70 |
- |
71 |
-DIST eclipse-clp-6.1.187.tar.gz 8624698 SHA256 cfddbdc4a45b6e8f8fbb1c0e36881264d2b68169d6fbaf55c09e9ddb66612a72 SHA512 ff14a81f7ae9b9ba0805016e856f01fdd9fa67edf0fe4a3048f375b82d1795f9ad52fd078da94da4ebf13aa269f5035dbbe15c119453949597942183e899152a WHIRLPOOL 5ae43380b0458814d94a9e7a5919d61ae1ad9cf12dbdf65f3c7c8b77f60498e3d5162d0f3a530992f6d4e1157b62b88420a54eda65d40562176ff6c5eff054c4 |
72 |
------BEGIN PGP SIGNATURE----- |
73 |
-Version: GnuPG v2.0.22 (GNU/Linux) |
74 |
- |
75 |
-iL4EAREIAGYFAlOQc8pfFIAAAAAALgAoaXNzdWVyLWZwckBub3RhdGlvbnMub3Bl |
76 |
-bnBncC5maWZ0aGhvcnNlbWFuLm5ldDY3QjA4MzdGODg1NUMxMjIzNUQ0MDgxNzky |
77 |
-N0FERDBDNjJFRUYwOTAACgkQknrdDGLu8JB4bAD+OzKNdI9HhyQ2w+psaQV7c188 |
78 |
-uaHE2ou6uFT85WrDfz4BAJMyVJg0sNsldFU2m/eA/bv3z59jjlhtnj5tvqp+qIjG |
79 |
-=zctd |
80 |
------END PGP SIGNATURE----- |
81 |
+DIST eclipse-clp-6.1.189.tar.gz 8624838 SHA256 5fe428aab9b2d8251fefc8c8fb73a5edfafddde9f1f2f686ffd9bf24be35b0a3 SHA512 5ab804d59bbf3b9a59bf0af74e039d8781d8518d95c4e6c0e2af5c213dcb2ae08e3d789837fe2ff183b1229c91468041592c0dc8eef13370b5101e73a0b749d8 WHIRLPOOL 2012c3d068ad61634697e443d59a2906de8d1a3b4559a58857d094315ccc2c396cad56fd11f2cf5e77e27fc9bd7f8a1f4da0fab08595c6da14d60058d094c853 |
82 |
|
83 |
diff --git a/dev-util/eclipse-clp/eclipse-clp-6.1.187-r1.ebuild b/dev-util/eclipse-clp/eclipse-clp-6.1.189.ebuild |
84 |
similarity index 68% |
85 |
rename from dev-util/eclipse-clp/eclipse-clp-6.1.187-r1.ebuild |
86 |
rename to dev-util/eclipse-clp/eclipse-clp-6.1.189.ebuild |
87 |
index 0b1e1f5..a6e53ae 100644 |
88 |
--- a/dev-util/eclipse-clp/eclipse-clp-6.1.187-r1.ebuild |
89 |
+++ b/dev-util/eclipse-clp/eclipse-clp-6.1.189.ebuild |
90 |
@@ -15,7 +15,7 @@ SRC_URI="http://eclipseclp.org/Distribution/${MY_PV}/src/${PN/-clp}_src.tgz -> $ |
91 |
LICENSE="${pn} LGPL-2.1" |
92 |
SLOT="0" |
93 |
KEYWORDS="~amd64" |
94 |
-IUSE="doc +coin +gecode +glpk +gmp java mysql tcl +threads" |
95 |
+IUSE="doc +coin +gecode +glpk +gmp java mysql parallel tcl +threads" |
96 |
|
97 |
RDEPEND="" |
98 |
DEPEND="${RDEPEND} |
99 |
@@ -33,7 +33,7 @@ DEPEND="${RDEPEND} |
100 |
|
101 |
S=${WORKDIR}/Eclipse_${MY_PV} |
102 |
|
103 |
-REQUIRED_USE="coin? ( gmp ) glpk? ( coin )" |
104 |
+REQUIRED_USE="coin? ( gmp ) glpk? ( coin ) parallel? ( tcl )" |
105 |
|
106 |
pkg_setup() { |
107 |
use gecode && ewarn gecode does not work yet |
108 |
@@ -58,22 +58,31 @@ src_prepare() { |
109 |
"${FILESDIR}"/${P}-AR.patch \ |
110 |
"${FILESDIR}"/${P}-Eplex-include.patch \ |
111 |
"${FILESDIR}"/${P}-icparc_solvers.patch \ |
112 |
- "${FILESDIR}"/${P}-Oci-mkdir.patch |
113 |
+ "${FILESDIR}"/${P}-Oci-mkdir.patch \ |
114 |
+ "${FILESDIR}"/${P}-Usc-64bit.patch \ |
115 |
+ "${FILESDIR}"/${P}-Pds-64bit.patch \ |
116 |
+ "${FILESDIR}"/${P}-Alog-64bit.patch \ |
117 |
+ "${FILESDIR}"/${P}-weclipse.patch |
118 |
|
119 |
rm ARCH RUNME || die |
120 |
|
121 |
case "${ARCH}" in |
122 |
amd64) export ARCH=x86_64_linux ;; |
123 |
- x86) export ARCH=i386_linux ;; |
124 |
+ x86) export ARCH=i386_linux ;; |
125 |
*) die "unsupported arch ${ARCH}" ;; |
126 |
esac |
127 |
export ECLIPSEDIR=${EROOT}opt/${PN} |
128 |
export MYSQLDIR="${EROOT}usr/include/mysql" |
129 |
export prefix="${S}/build" |
130 |
+ tc-export CC AR |
131 |
eautoreconf |
132 |
} |
133 |
|
134 |
src_configure() { |
135 |
+ #pushd Pds/src >/dev/null |
136 |
+ #ARCH=${PDS_ARCH} econf |
137 |
+ #popd >/dev/null |
138 |
+ |
139 |
local my_osi="--without-osi" |
140 |
if use coin ; then |
141 |
my_osi="--with-osi=symclp" |
142 |
@@ -100,21 +109,9 @@ src_configure() { |
143 |
} |
144 |
|
145 |
src_compile() { |
146 |
- mkdir -p "${S}/build/bin/${ARCH}" |
147 |
- |
148 |
- #replace toplevel Makefile.${ARCH}, -j1 bug etc. |
149 |
- rm -fv Makefile.${ARCH} || die |
150 |
- einfo "compile & install Shm" |
151 |
- emake -C Shm/${ARCH} PREFIX="${S}/build" install |
152 |
- einfo "compile & install Kernel" |
153 |
- emake -C Kernel/${ARCH} sepia |
154 |
- emake -C Kernel/${ARCH} PREFIX="${S}/build" install |
155 |
- einfo "install legal files" |
156 |
- cp -pr legal "${S}/build" || die |
157 |
- |
158 |
runme() { |
159 |
einfo "create wrapper $1" |
160 |
- cat << EOF > "build/bin/${ARCH}/$1" |
161 |
+ cat << EOF > "bin/${ARCH}/$1" |
162 |
#!/bin/sh |
163 |
export ECLIPSEDIR="\${ECLIPSEDIR:-${EROOT}opt/${PN}}" |
164 |
if [ -z "\${LD_LIBRARY_PATH}" ] ; then |
165 |
@@ -125,14 +122,46 @@ fi |
166 |
export JRE_HOME="\${JRE_HOME:-\${JAVA_HOME}}" |
167 |
$2 |
168 |
EOF |
169 |
- chmod +x "build/bin/${ARCH}/$1" |
170 |
+ chmod +x "bin/${ARCH}/$1" |
171 |
} |
172 |
+ mkdir -p "${S}/bin/${ARCH}" |
173 |
+ |
174 |
+ #replace toplevel Makefile.${ARCH}, -j1 bug etc. |
175 |
+ rm -fv Makefile.${ARCH} || die |
176 |
+ einfo "compile & install Shm" |
177 |
+ emake -C Shm/${ARCH} PREFIX="${S}" install |
178 |
+ |
179 |
+ einfo "compile & install Usc (Micro Second Clock)" |
180 |
+ pushd Usc |
181 |
+ ./INSTALL || die |
182 |
+ popd |
183 |
+ |
184 |
+ einfo "compile & install Alog" |
185 |
+ pushd Alog |
186 |
+ ./INSTALL || die |
187 |
+ popd |
188 |
+ |
189 |
+ einfo "compile & install Pds (Parallel Distributed System)" |
190 |
+ pushd Pds |
191 |
+ ./INSTALL || die |
192 |
+ popd |
193 |
+ |
194 |
+ einfo "compile & install Kernel" |
195 |
+ emake -C Kernel/${ARCH} sepia |
196 |
+ emake -C Kernel/${ARCH} PREFIX="${S}" install |
197 |
runme "eclipse" "exec \"\${ECLIPSEDIR}/lib/x86_64_linux/eclipse.exe\" \"\$@\"" |
198 |
|
199 |
- if use tcl ; then |
200 |
- einfo "install lib_tcl" |
201 |
- cp -pr lib_tcl "build" || die |
202 |
+ if use parallel ; then |
203 |
+ einfo "compile & install parallel Kernel" |
204 |
+ emake -C Kernel/${ARCH} weclipse |
205 |
+ cp -v {Kernel,lib}/${ARCH}/weclipse |
206 |
+ runme "weclipse" "exec \"\${ECLIPSEDIR}/lib/x86_64_linux/weclipse\" \"\$@\"" |
207 |
+ emake -C Kernel/${ARCH} peclipse |
208 |
+ cp -v {Kernel,lib}/${ARCH}/weclipse |
209 |
+ runme "peclipse" "exec \"\${ECLIPSEDIR}/lib/x86_64_linux/peclipse\" \"\$@\"" |
210 |
+ fi |
211 |
|
212 |
+ if use tcl ; then |
213 |
runme "tkeclipse" "exec wish \"\${ECLIPSEDIR}/lib_tcl/tkeclipse.tcl\" -- \"\$@\"" |
214 |
runme "tktools" "exec wish \"\${ECLIPSEDIR}/lib_tcl/tktools.tcl\" -- \"\$@\"" |
215 |
fi |
216 |
@@ -141,44 +170,50 @@ EOF |
217 |
#emake -C ecrc_solvers -f Makefile.${ARCH} PREFIX="${S}/build" install -j1 |
218 |
|
219 |
einfo "compile & install Flexlm" |
220 |
- emake -C Flexlm -f Makefile.${ARCH} PREFIX="${S}/build" install |
221 |
+ emake -C Flexlm -f Makefile.${ARCH} PREFIX="${S}" install |
222 |
|
223 |
if use coin ; then |
224 |
einfo "compile & install Eplex" |
225 |
- emake -C Eplex -f Makefile.${ARCH} PREFIX="${S}/build" install -j1 |
226 |
+ emake -C Eplex -f Makefile.${ARCH} PREFIX="${S}" install -j1 |
227 |
|
228 |
einfo "compile & install icparc_solvers" |
229 |
- emake -C icparc_solvers -f Makefile.${ARCH} PREFIX="${S}/build" install -j1 |
230 |
+ emake -C icparc_solvers -f Makefile.${ARCH} PREFIX="${S}" install -j1 |
231 |
fi |
232 |
if use gecode ; then |
233 |
einfo "compile & install GecodeInterface" |
234 |
- emake -C GecodeInterface -f Makefile.${ARCH} PREFIX="${S}/build" install |
235 |
+ emake -C GecodeInterface -f Makefile.${ARCH} PREFIX="${S}" install |
236 |
fi |
237 |
if use java ; then |
238 |
einfo "compile & install JavaInterface" |
239 |
- emake -C JavaInterface -f Makefile.${ARCH} PREFIX="${S}/build" install |
240 |
+ emake -C JavaInterface -f Makefile.${ARCH} PREFIX="${S}" install |
241 |
runme "jeclipse" "exec \"\${JRE_HOME}/bin/java\" -Xss2m -Declipse.directory=\"\${ECLIPSEDIR}\" -classpath \"\${ECLIPSEDIR}/lib/eclipse.jar\" com.parctechnologies.eclipse.JEclipse \"\$@\"" |
242 |
|
243 |
einfo "compile & install Visualisation" |
244 |
- emake -C Visualisation -f Makefile.${ARCH} PREFIX="${S}/build" install |
245 |
+ emake -C Visualisation -f Makefile.${ARCH} PREFIX="${S}" install |
246 |
fi |
247 |
|
248 |
if use mysql ; then |
249 |
einfo "compile & install Oci" |
250 |
- emake -C Oci -f Makefile.${ARCH} PREFIX="${S}/build" install -j1 |
251 |
+ emake -C Oci -f Makefile.${ARCH} PREFIX="${S}" install -j1 |
252 |
fi |
253 |
} |
254 |
|
255 |
src_install() { |
256 |
- dodir /opt |
257 |
- mv "${S}/build" "${ED}opt/${PN}" || die |
258 |
- |
259 |
- local my_file |
260 |
+ dodir /opt/${PN} |
261 |
+ mv bin doc include legal lib "${ED}opt/${PN}" || die |
262 |
make_wrapper eclipse "${EROOT}opt/${PN}/bin/${ARCH}/eclipse" |
263 |
+ |
264 |
if use tcl ; then |
265 |
+ mv lib_tcl "${ED}opt/${PN}" || die |
266 |
make_wrapper tkeclipse "${EROOT}opt/${PN}/bin/${ARCH}/tkeclipse" |
267 |
make_wrapper tktools "${EROOT}opt/${PN}/bin/${ARCH}/tktools" |
268 |
fi |
269 |
+ |
270 |
+ if use parallel ; then |
271 |
+ make_wrapper weclipse "${EROOT}opt/${PN}/bin/${ARCH}/weclipse" |
272 |
+ make_wrapper peclipse "${EROOT}opt/${PN}/bin/${ARCH}/peclipse" |
273 |
+ fi |
274 |
+ |
275 |
if use java ; then |
276 |
make_wrapper jeclipse "${EROOT}opt/${PN}/bin/${ARCH}/jeclipse" |
277 |
fi |
278 |
|
279 |
diff --git a/dev-util/eclipse-clp/files/eclipse-clp-6.1.187-AR.patch b/dev-util/eclipse-clp/files/eclipse-clp-6.1.189-AR.patch |
280 |
similarity index 100% |
281 |
rename from dev-util/eclipse-clp/files/eclipse-clp-6.1.187-AR.patch |
282 |
rename to dev-util/eclipse-clp/files/eclipse-clp-6.1.189-AR.patch |
283 |
|
284 |
diff --git a/dev-util/eclipse-clp/files/eclipse-clp-6.1.189-Alog-64bit.patch b/dev-util/eclipse-clp/files/eclipse-clp-6.1.189-Alog-64bit.patch |
285 |
new file mode 100644 |
286 |
index 0000000..c204b17 |
287 |
--- /dev/null |
288 |
+++ b/dev-util/eclipse-clp/files/eclipse-clp-6.1.189-Alog-64bit.patch |
289 |
@@ -0,0 +1,42 @@ |
290 |
+--- Eclipse_6.1_187/Alog/src/configure |
291 |
++++ Eclipse_6.1_187/Alog/src/configure |
292 |
+@@ -531,8 +531,9 @@ |
293 |
+ # |
294 |
+ # UNIX variants |
295 |
+ # |
296 |
+-CC=cc |
297 |
+-CFLAGS="-O" |
298 |
++CC=${CC:-cc} |
299 |
++AR=${AR:-ar} |
300 |
++CFLAGS=${CFLAGS:-"-O"} |
301 |
+ case "$ARCH" in |
302 |
+ sun3) |
303 |
+ ;; |
304 |
+@@ -556,7 +557,7 @@ |
305 |
+ ;; |
306 |
+ i386_sunos5) |
307 |
+ ;; |
308 |
+- i386_linux) |
309 |
++ i386_linux|x86_64_linux) |
310 |
+ LIBS="-lieee $LIBS" |
311 |
+ ;; |
312 |
+ rs_aix32) |
313 |
+@@ -767,6 +768,7 @@ |
314 |
+ s%@infodir@%$infodir%g |
315 |
+ s%@mandir@%$mandir%g |
316 |
+ s%@CC@%$CC%g |
317 |
++s%@AR@%$AR%g |
318 |
+ s%@ARCH@%$ARCH%g |
319 |
+ s%@RANLIB@%$RANLIB%g |
320 |
+ s%@SYS_DIR@%$SYS_DIR%g |
321 |
+--- Eclipse_6.1_187/Alog/src/Makefile.in |
322 |
++++ Eclipse_6.1_187/Alog/src/Makefile.in |
323 |
+@@ -20,7 +20,7 @@ |
324 |
+ |
325 |
+ CCFLAGS = $(CFLAGS) $(IPATH) |
326 |
+ |
327 |
+-AR = ar ruv |
328 |
++AR = @AR@ ruv |
329 |
+ RM = /bin/rm -f |
330 |
+ CP = /bin/cp |
331 |
+ |
332 |
|
333 |
diff --git a/dev-util/eclipse-clp/files/eclipse-clp-6.1.187-Eplex-Makefile.patch b/dev-util/eclipse-clp/files/eclipse-clp-6.1.189-Eplex-Makefile.patch |
334 |
similarity index 100% |
335 |
rename from dev-util/eclipse-clp/files/eclipse-clp-6.1.187-Eplex-Makefile.patch |
336 |
rename to dev-util/eclipse-clp/files/eclipse-clp-6.1.189-Eplex-Makefile.patch |
337 |
|
338 |
diff --git a/dev-util/eclipse-clp/files/eclipse-clp-6.1.187-Eplex-include.patch b/dev-util/eclipse-clp/files/eclipse-clp-6.1.189-Eplex-include.patch |
339 |
similarity index 100% |
340 |
rename from dev-util/eclipse-clp/files/eclipse-clp-6.1.187-Eplex-include.patch |
341 |
rename to dev-util/eclipse-clp/files/eclipse-clp-6.1.189-Eplex-include.patch |
342 |
|
343 |
diff --git a/dev-util/eclipse-clp/files/eclipse-clp-6.1.187-Oci-mkdir.patch b/dev-util/eclipse-clp/files/eclipse-clp-6.1.189-Oci-mkdir.patch |
344 |
similarity index 100% |
345 |
rename from dev-util/eclipse-clp/files/eclipse-clp-6.1.187-Oci-mkdir.patch |
346 |
rename to dev-util/eclipse-clp/files/eclipse-clp-6.1.189-Oci-mkdir.patch |
347 |
|
348 |
diff --git a/dev-util/eclipse-clp/files/eclipse-clp-6.1.189-Pds-64bit.patch b/dev-util/eclipse-clp/files/eclipse-clp-6.1.189-Pds-64bit.patch |
349 |
new file mode 100644 |
350 |
index 0000000..4cecb38 |
351 |
--- /dev/null |
352 |
+++ b/dev-util/eclipse-clp/files/eclipse-clp-6.1.189-Pds-64bit.patch |
353 |
@@ -0,0 +1,61 @@ |
354 |
+--- Eclipse_6.1_187/Pds/src/configure |
355 |
++++ Eclipse_6.1_187/Pds/src/configure |
356 |
+@@ -539,9 +539,10 @@ |
357 |
+ # |
358 |
+ # UNIX variants |
359 |
+ # |
360 |
+-CC=cc |
361 |
++CC=${CC:-cc} |
362 |
++AR=${AR:-ar} |
363 |
+ DFLAGS="-DTRUSTED -DNDEBUG -DINTERRUPT_SAFE -DBMSGLOG -DAMSGLOG -DALOG_TRACE" |
364 |
+-CFLAGS="-O" |
365 |
++CFLAGS=${CFLAGS:-"-O"} |
366 |
+ case "$ARCH" in |
367 |
+ sun3) |
368 |
+ ;; |
369 |
+@@ -569,7 +570,7 @@ |
370 |
+ i386_sunos5) |
371 |
+ LIBS="-lsocket -lnsl $LIBS" |
372 |
+ ;; |
373 |
+- i386_linux) |
374 |
++ i386_linux|x86_64_linux) |
375 |
+ LIBS="-lieee $LIBS" |
376 |
+ ;; |
377 |
+ rs_aix32) |
378 |
+@@ -1368,6 +1369,7 @@ |
379 |
+ s%@mandir@%$mandir%g |
380 |
+ s%@CPP@%$CPP%g |
381 |
+ s%@CC@%$CC%g |
382 |
++s%@AR@%$AR%g |
383 |
+ s%@DFLAGS@%$DFLAGS%g |
384 |
+ s%@ARCH@%$ARCH%g |
385 |
+ s%@RANLIB@%$RANLIB%g |
386 |
+--- Eclipse_6.1_187/Pds/src/Makefile.in |
387 |
++++ Eclipse_6.1_187/Pds/src/Makefile.in |
388 |
+@@ -44,7 +44,7 @@ |
389 |
+ |
390 |
+ CCFLAGS = $(CFLAGS) $(DFLAGS) $(IPATH) |
391 |
+ |
392 |
+-AR = ar |
393 |
++AR = @AR@ |
394 |
+ RM = /bin/rm -f |
395 |
+ CP = /bin/cp |
396 |
+ |
397 |
+--- Eclipse_6.1_187/Pds/src/pds.types.h |
398 |
++++ Eclipse_6.1_187/Pds/src/pds.types.h |
399 |
+@@ -46,15 +46,6 @@ |
400 |
+ typedef float pds_sp_float; |
401 |
+ typedef double pds_dp_float; |
402 |
+ |
403 |
+-#define INT8_MIN -0x80 |
404 |
+-#define INT8_MAX 0x7F |
405 |
+-#define INT16_MIN -0x8000 |
406 |
+-#define INT16_MAX 0x7FFF |
407 |
+-#define UINT16_MAX 0xFFFF |
408 |
+-#define INT32_MIN -0x80000000 |
409 |
+-#define INT32_MAX 0x7FFFFFFF |
410 |
+-#define UINT32_MAX 0xFFFFFFFF |
411 |
+- |
412 |
+ #if HAVE_NO_VOID_PTR |
413 |
+ typedef char * void_ptr; |
414 |
+ #else |
415 |
|
416 |
diff --git a/dev-util/eclipse-clp/files/eclipse-clp-6.1.189-Usc-64bit.patch b/dev-util/eclipse-clp/files/eclipse-clp-6.1.189-Usc-64bit.patch |
417 |
new file mode 100644 |
418 |
index 0000000..80a3d5e |
419 |
--- /dev/null |
420 |
+++ b/dev-util/eclipse-clp/files/eclipse-clp-6.1.189-Usc-64bit.patch |
421 |
@@ -0,0 +1,42 @@ |
422 |
+--- Eclipse_6.1_187/Usc/src/configure |
423 |
++++ Eclipse_6.1_187/Usc/src/configure |
424 |
+@@ -526,8 +526,9 @@ |
425 |
+ # |
426 |
+ # UNIX variants |
427 |
+ # |
428 |
+-CC=cc |
429 |
+-CFLAGS="-O" |
430 |
++CC=${CC:-cc} |
431 |
++AR=${AR:-ar} |
432 |
++CFLAGS=${CFLAGS:-"-O"} |
433 |
+ case "$ARCH" in |
434 |
+ sun3) |
435 |
+ ;; |
436 |
+@@ -587,7 +588,7 @@ |
437 |
+ EOF |
438 |
+ |
439 |
+ ;; |
440 |
+- i386_linux) |
441 |
++ i386_linux|x86_64_linux) |
442 |
+ LIBS="-lieee $LIBS" |
443 |
+ ;; |
444 |
+ rs_aix32) |
445 |
+@@ -950,6 +951,7 @@ |
446 |
+ s%@mandir@%$mandir%g |
447 |
+ s%@CPP@%$CPP%g |
448 |
+ s%@CC@%$CC%g |
449 |
++s%@AR@%$AR%g |
450 |
+ s%@DFLAGS@%$DFLAGS%g |
451 |
+ s%@ARCH@%$ARCH%g |
452 |
+ s%@RANLIB@%$RANLIB%g |
453 |
+--- Eclipse_6.1_187/Usc/src/Makefile.in |
454 |
++++ Eclipse_6.1_187/Usc/src/Makefile.in |
455 |
+@@ -18,7 +18,7 @@ |
456 |
+ |
457 |
+ CCFLAGS = $(CFLAGS) $(DFLAGS) |
458 |
+ |
459 |
+-AR = ar ruv |
460 |
++AR = @AR@ ruv |
461 |
+ RM = /bin/rm -f |
462 |
+ CP = /bin/cp |
463 |
+ |
464 |
|
465 |
diff --git a/dev-util/eclipse-clp/files/eclipse-clp-6.1.187-icparc_solvers.patch b/dev-util/eclipse-clp/files/eclipse-clp-6.1.189-icparc_solvers.patch |
466 |
similarity index 100% |
467 |
rename from dev-util/eclipse-clp/files/eclipse-clp-6.1.187-icparc_solvers.patch |
468 |
rename to dev-util/eclipse-clp/files/eclipse-clp-6.1.189-icparc_solvers.patch |
469 |
|
470 |
diff --git a/dev-util/eclipse-clp/files/eclipse-clp-6.1.187-mysql.patch b/dev-util/eclipse-clp/files/eclipse-clp-6.1.189-mysql.patch |
471 |
similarity index 100% |
472 |
rename from dev-util/eclipse-clp/files/eclipse-clp-6.1.187-mysql.patch |
473 |
rename to dev-util/eclipse-clp/files/eclipse-clp-6.1.189-mysql.patch |
474 |
|
475 |
diff --git a/dev-util/eclipse-clp/files/eclipse-clp-6.1.187-tcl8.6.patch b/dev-util/eclipse-clp/files/eclipse-clp-6.1.189-tcl8.6.patch |
476 |
similarity index 100% |
477 |
rename from dev-util/eclipse-clp/files/eclipse-clp-6.1.187-tcl8.6.patch |
478 |
rename to dev-util/eclipse-clp/files/eclipse-clp-6.1.189-tcl8.6.patch |
479 |
|
480 |
diff --git a/dev-util/eclipse-clp/files/eclipse-clp-6.1.189-weclipse.patch b/dev-util/eclipse-clp/files/eclipse-clp-6.1.189-weclipse.patch |
481 |
new file mode 100644 |
482 |
index 0000000..8f68e8d |
483 |
--- /dev/null |
484 |
+++ b/dev-util/eclipse-clp/files/eclipse-clp-6.1.189-weclipse.patch |
485 |
@@ -0,0 +1,80 @@ |
486 |
+--- Eclipse_6.1_187/Kernel/src/scheduler.c |
487 |
++++ Eclipse_6.1_187/Kernel/src/scheduler.c |
488 |
+@@ -31,6 +31,7 @@ |
489 |
+ #include <stdio.h> |
490 |
+ |
491 |
+ #include "config.h" |
492 |
++#include "ec_public.h" |
493 |
+ |
494 |
+ #include "pds.h" /* The Underlying Message Passing System */ |
495 |
+ #include "memman.h" |
496 |
+--- Eclipse_6.1_189/Kernel/src/emu_par.c |
497 |
++++ Eclipse_6.1_189/Kernel/src/emu_par.c |
498 |
+@@ -856,7 +856,7 @@ |
499 |
+ while (po && b_aux >= bcommon) |
500 |
+ { |
501 |
+ while (IsGcFrame(BTop(b_aux)) |
502 |
+- || IsSmallFrame(BTop(b_aux)) |
503 |
++ //|| IsSmallFrame(BTop(b_aux)) |
504 |
+ || IsCatchFrame(BTop(b_aux)) |
505 |
+ || IsExceptionFrame(BTop(b_aux))) |
506 |
+ { |
507 |
+@@ -898,7 +898,7 @@ |
508 |
+ while ( po && b_aux >= bcommon) |
509 |
+ { |
510 |
+ while (IsGcFrame(BTop(b_aux)) |
511 |
+- || IsSmallFrame(BTop(b_aux)) |
512 |
++ //|| IsSmallFrame(BTop(b_aux)) |
513 |
+ || IsCatchFrame(BTop(b_aux)) |
514 |
+ || IsExceptionFrame(BTop(b_aux))) |
515 |
+ { |
516 |
+--- Eclipse_6.1_189/Kernel/src/Makefile.in |
517 |
++++ Eclipse_6.1_189/Kernel/src/Makefile.in |
518 |
+@@ -264,8 +264,8 @@ |
519 |
+ $(CC) $(LDFLAGS) -L$(SYS_LIB) $(DEVSYS_OBJECTS) $(COMMON_OBJECTS) mps.o whereami.o $(PAR_LIBS) $(BASIC_LIBS) libdummies.a $(LIBS) -o $@ |
520 |
+ |
521 |
+ # An eclipse parallel worker (includes mps) |
522 |
+-weclipse: $(DEVSYS_OBJECTS) $(COMMON_OBJECTS) o parallel.o mps.o whereami.o libdummies.a |
523 |
+- $(CC) $(LDFLAGS) -L$(SYS_LIB) $(DEVSYS_OBJECTS) $(COMMON_OBJECTS) parallel.o mps.o whereami.o $(PAR_LIBS) $(BASIC_LIBS) libdummies.a $(LIBS) -o $@ |
524 |
++weclipse: $(DEVSYS_OBJECTS) $(COMMON_OBJECTS) parallel.o mps.o whereami.o lib1.o lib2.o lib7.o |
525 |
++ $(CC) $(LDFLAGS) -L$(SYS_LIB) $(DEVSYS_OBJECTS) $(COMMON_OBJECTS) parallel.o mps.o whereami.o $(PAR_LIBS) $(BASIC_LIBS) lib1.o lib2.o lib7.o $(LIBS) -o $@ |
526 |
+ |
527 |
+ # The worker manager |
528 |
+ peclipse: wm.o whereami.o wm_interface.o eclipsedir.o os_support.o |
529 |
+@@ -463,12 +463,12 @@ |
530 |
+ $(CC) $(OPT_FLAGS) $(FLOAT_ROUND_FLAGS) $(CFLAGS) $(CPPFLAGS) \ |
531 |
+ -c $< |
532 |
+ |
533 |
+-wm.o: wm.c |
534 |
+- $(CC) $(OPT_FLAGS) $(CFLAGS) $(CPPFLAGS) -c wm.c |
535 |
++wm.o: ../src/wm.c |
536 |
++ $(CC) $(OPT_FLAGS) $(CFLAGS) $(CPPFLAGS) -c ../src/wm.c |
537 |
+ |
538 |
+-wm_interface.o: wm_interface.c |
539 |
++wm_interface.o: ../src/wm_interface.c |
540 |
+ $(CC) $(OPT_FLAGS) $(CFLAGS) $(CPPFLAGS) \ |
541 |
+- -c wm_interface.c |
542 |
++ -c ../src/wm_interface.c |
543 |
+ |
544 |
+ |
545 |
+ # |
546 |
+--- Eclipse_6.1_189/Kernel/src/wm.c |
547 |
++++ Eclipse_6.1_189/Kernel/src/wm.c |
548 |
+@@ -87,6 +87,7 @@ |
549 |
+ #include "trace.h" |
550 |
+ #include "wm_msgs.h" |
551 |
+ #include "wm_types.h" |
552 |
++#include "os_support.h" |
553 |
+ |
554 |
+ /* #define DEBUG_MPS*/ |
555 |
+ |
556 |
+--- Eclipse_6.1_189/Kernel/src/wm_interface.c |
557 |
++++ Eclipse_6.1_189/Kernel/src/wm_interface.c |
558 |
+@@ -59,6 +59,7 @@ |
559 |
+ #include "trace.h" |
560 |
+ #include "wm_msgs.h" |
561 |
+ #include "wm_types.h" |
562 |
++#include "os_support.h" |
563 |
+ |
564 |
+ |
565 |
+ /* Tcl/Tk includes */ |
566 |
|
567 |
diff --git a/dev-util/eclipse-clp/metadata.xml b/dev-util/eclipse-clp/metadata.xml |
568 |
index 2673404..543ab9f 100644 |
569 |
--- a/dev-util/eclipse-clp/metadata.xml |
570 |
+++ b/dev-util/eclipse-clp/metadata.xml |
571 |
@@ -9,5 +9,6 @@ |
572 |
<flag name="gecode">Bindings for dev-libs/gecode</flag> |
573 |
<flag name="coin">Bindings for COIN-OR Open Solver Interface</flag> |
574 |
<flag name="glpk">Bindings for COIN-OR OSI Gnu Linear Programming Kit</flag> |
575 |
+<flag name="parallel">Build parallel engine</flag> |
576 |
</use> |
577 |
</pkgmetadata> |