Gentoo Archives: gentoo-commits

From: "M. B." <tomboy64@××××.cn>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/user/tbc:master commit in: dev-lang/rakudo/, dev-lang/nqp/files/, dev-lang/nqp/, dev-lang/moarvm/files/, ...
Date: Sun, 05 Jun 2016 17:35:53
Message-Id: 1465124574.a67d266a87cd3e0b5c64ea4fc2d52d8134dd997a.tomboy64@gentoo
1 commit: a67d266a87cd3e0b5c64ea4fc2d52d8134dd997a
2 Author: Matthew Brewer <tomboy64 <AT> sina <DOT> cn>
3 AuthorDate: Sun Jun 5 11:02:06 2016 +0000
4 Commit: M. B. <tomboy64 <AT> sina <DOT> cn>
5 CommitDate: Sun Jun 5 11:02:54 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/user/tbc.git/commit/?id=a67d266a
7
8 remove perl6 ebuilds from overlay since it got pushed to ::gentoo
9
10 dev-lang/moarvm/Manifest | 2 -
11 dev-lang/moarvm/files/Configure-2016.04.patch | 145 --------------
12 dev-lang/moarvm/metadata.xml | 27 ---
13 dev-lang/moarvm/moarvm-2016.04-r2.ebuild | 63 ------
14 dev-lang/moarvm/moarvm-2016.05.ebuild | 63 ------
15 dev-lang/moarvm/moarvm-9999.ebuild | 63 ------
16 dev-lang/nqp/Manifest | 2 -
17 dev-lang/nqp/files/enable-external-jars.patch | 214 ---------------------
18 dev-lang/nqp/metadata.xml | 23 ---
19 dev-lang/nqp/nqp-2016.04-r3.ebuild | 161 ----------------
20 dev-lang/nqp/nqp-2016.05.ebuild | 160 ---------------
21 dev-lang/nqp/nqp-9999.ebuild | 160 ---------------
22 dev-lang/rakudo/Manifest | 1 -
23 .../rakudo/files/rakudo-2016.04-Makefile.in.patch | 17 --
24 dev-lang/rakudo/files/rakudo-2016.04-jna-lib.patch | 21 --
25 dev-lang/rakudo/metadata.xml | 20 --
26 dev-lang/rakudo/rakudo-2016.04-r2.ebuild | 84 --------
27 dev-lang/rakudo/rakudo-2016.05.ebuild | 80 --------
28 dev-lang/rakudo/rakudo-9999.ebuild | 80 --------
29 19 files changed, 1386 deletions(-)
30
31 diff --git a/dev-lang/moarvm/Manifest b/dev-lang/moarvm/Manifest
32 deleted file mode 100644
33 index 8d79641..0000000
34 --- a/dev-lang/moarvm/Manifest
35 +++ /dev/null
36 @@ -1,2 +0,0 @@
37 -DIST MoarVM-2016.04.tar.gz 3332850 SHA256 6fe9000daada59535747f2557cc73573241ba8a6044271caf1647aa37be33c6d SHA512 ef22145c9f7c32d7d12192cee63f286544500adff40fc2dbaad677d57108bc6efedc348fe8ddf460fe12d2c6b282e885bcb74fb3bcaa1e06b7719754175afe7d WHIRLPOOL e314f80cd785d31768630798647d7f445831bb29aaded88ef32326df3f4705a5d3fba2da00fce6888a2256b57aeb838922e94c3096250d30112f2be2bfacbb92
38 -DIST MoarVM-2016.05.tar.gz 3343486 SHA256 d59e3b366cd788a9e9aaa747dc0883dc6f41d97cb76a8fb2815bd565ef75498a SHA512 0cc946962b56cd9075013074228cee008c98b43da9bdaadd8ce91aa06d94510df1c4a2877d36945aff30dada01f3bf66c0ef1028c59967d09c0aec662aa87f99 WHIRLPOOL 1681538cb1a2919bfb49e51fe29877392ee0900d38daed1bbdae92d57332de84888f6ecae3bfbfba5b8132f186ebdfa3151a7cd038f10538e09c97ddae953adc
39
40 diff --git a/dev-lang/moarvm/files/Configure-2016.04.patch b/dev-lang/moarvm/files/Configure-2016.04.patch
41 deleted file mode 100644
42 index 6fd46c2..0000000
43 --- a/dev-lang/moarvm/files/Configure-2016.04.patch
44 +++ /dev/null
45 @@ -1,145 +0,0 @@
46 -diff --git a/Configure.pl b/Configure.pl
47 -index 72a5dad..f829d5c 100755
48 ---- a/Configure.pl
49 -+++ b/Configure.pl
50 -@@ -32,7 +32,7 @@ GetOptions(\%args, qw(
51 - os=s shell=s toolchain=s compiler=s
52 - ar=s cc=s ld=s make=s has-sha has-libuv
53 - static has-libtommath has-libatomic_ops
54 -- has-dyncall has-libffi
55 -+ has-dyncall has-libffi pkgconfig=s
56 - build=s host=s big-endian jit! enable-jit lua=s has-dynasm
57 - prefix=s bindir=s libdir=s mastdir=s make-install asan ubsan),
58 - 'no-optimize|nooptimize' => sub { $args{optimize} = 0 },
59 -@@ -99,6 +99,7 @@ $config{config} = join ' ', map { / / ? "\"$_\"" : $_ } @args;
60 - $config{osname} = $^O;
61 - $config{osvers} = $Config{osvers};
62 - $config{lua} = $args{lua} // './3rdparty/dynasm/minilua@exe@';
63 -+$config{pkgconfig} = $args{pkgconfig} // '/usr/bin/pkg-config';
64 -
65 - # set options that take priority over all others
66 - my @keys = qw( ar cc ld make );
67 -@@ -164,12 +165,33 @@ if (-e '3rdparty/libuv/src/unix/threadpool' . $defaults{obj}
68 - system($defaults{make}, 'realclean')
69 - }
70 -
71 -+# test whether pkg-config works
72 -+if (-e "$config{pkgconfig}") {
73 -+ print("\nTesting pkgconfig ... ");
74 -+ system("$config{pkgconfig}", "--version");
75 -+ if ( $? == 0 ) {
76 -+ $config{pkgconfig_works} = 1;
77 -+ } else {
78 -+ $config{pkgconfig_works} = 0;
79 -+ }
80 -+}
81 -+
82 - # conditionally set include dirs and install rules
83 - $config{cincludes} //= '';
84 - $config{install} //= '';
85 - if ($args{'has-libuv'}) {
86 - $defaults{-thirdparty}->{uv} = undef;
87 - unshift @{$config{usrlibs}}, 'uv';
88 -+ if ($config{pkgconfig_works}) {
89 -+ my $result = `$config{pkgconfig} --cflags libuv`;
90 -+ if ( $? == 0 ) {
91 -+ $result =~ s/\n/ /g;
92 -+ $config{cincludes} .= ' ' . "$result";
93 -+ print("Adding extra include for libuv: $result\n");
94 -+ } else {
95 -+ print("Error occured when running $config{pkgconfig} --cflags libuv.\n");
96 -+ }
97 -+ }
98 - }
99 - else {
100 - $config{cincludes} .= ' ' . $defaults{ccinc} . '3rdparty/libuv/include'
101 -@@ -181,6 +203,16 @@ else {
102 - if ($args{'has-libatomic_ops'}) {
103 - $defaults{-thirdparty}->{lao} = undef;
104 - unshift @{$config{usrlibs}}, 'atomic_ops';
105 -+ if ($config{pkgconfig_works}) {
106 -+ my $result = `$config{pkgconfig} --cflags atomic_ops`;
107 -+ if ( $? == 0 ) {
108 -+ $result =~ s/\n/ /g;
109 -+ $config{cincludes} .= ' ' . "$result";
110 -+ print("Adding extra include for atomic_ops: $result\n");
111 -+ } else {
112 -+ print("Error occured when running $config{pkgconfig} --cflags atomic_ops.\n");
113 -+ }
114 -+ }
115 - }
116 - else {
117 - $config{cincludes} .= ' ' . $defaults{ccinc} . '3rdparty/libatomic_ops/src';
118 -@@ -216,7 +248,8 @@ if ($args{'has-libtommath'}) {
119 - }
120 - else {
121 - $config{cincludes} .= ' ' . $defaults{ccinc} . '3rdparty/libtommath';
122 -- $config{install} .= "\t\$(CP) 3rdparty/libtommath/*.h \$(DESTDIR)\$(PREFIX)/include/libtommath\n";
123 -+ $config{install} .= "\t\$(MKPATH) \$(DESTDIR)\$(PREFIX)/include/libtommath\n"
124 -+ . "\t\$(CP) 3rdparty/libtommath/*.h \$(DESTDIR)\$(PREFIX)/include/libtommath\n";
125 - }
126 -
127 - if ($args{'has-dynasm'}) {
128 -@@ -232,6 +265,16 @@ if ($args{'has-libffi'}) {
129 - $config{nativecall_backend} = 'libffi';
130 - unshift @{$config{usrlibs}}, 'ffi';
131 - push @{$config{defs}}, 'HAVE_LIBFFI';
132 -+ if ($config{pkgconfig_works}) {
133 -+ my $result = `$config{pkgconfig} --cflags libffi`;
134 -+ if ( $? == 0 ) {
135 -+ $result =~ s/\n/ /g;
136 -+ $config{cincludes} .= ' ' . "$result";
137 -+ print("Adding extra include for libffi: $result\n");
138 -+ } else {
139 -+ print("Error occured when running $config{pkgconfig} --cflags libffi.\n");
140 -+ }
141 -+ }
142 - }
143 - elsif ($args{'has-dyncall'}) {
144 - unshift @{$config{usrlibs}}, 'dyncall_s', 'dyncallback_s', 'dynload_s';
145 -@@ -364,6 +407,7 @@ my $order = $config{be} ? 'big endian' : 'little endian';
146 - print "\n", <<TERM, "\n";
147 - make: $config{make}
148 - compile: $config{cc} $config{cflags}
149 -+ includes: $config{cincludes}
150 - link: $config{ld} $config{ldflags}
151 - libs: $config{ldlibs}
152 -
153 -@@ -873,6 +917,10 @@ Build and install MoarVM in addition to configuring it.
154 -
155 - =item --has-libffi
156 -
157 -+=item --pkgconfig=/path/to/pkgconfig/executable
158 -+
159 -+Provide path to the pkgconfig executable. Default: /usr/bin/pkg-config
160 -+
161 - =item --no-jit
162 -
163 - Disable JIT compiler, which is enabled by default to JIT-compile hot frames.
164 -diff --git a/build/Makefile.in b/build/Makefile.in
165 -index 56a4c8a..b94e847 100644
166 ---- a/build/Makefile.in
167 -+++ b/build/Makefile.in
168 -@@ -454,9 +454,6 @@ install: all
169 - $(CP) src/strings/*.h $(DESTDIR)$(PREFIX)/include/moar/strings
170 - $(CP) src/jit/*.h $(DESTDIR)$(PREFIX)/include/moar/jit
171 - $(CP) src/instrument/*.h $(DESTDIR)$(PREFIX)/include/moar/instrument
172 -- $(MKPATH) $(DESTDIR)$(PREFIX)/include/libuv
173 -- $(MKPATH) $(DESTDIR)$(PREFIX)/include/libtommath
174 -- $(CP) 3rdparty/libuv/include/*.h $(DESTDIR)$(PREFIX)/include/libuv
175 - @install@
176 -
177 - lib: @moar@
178 -diff --git a/build/setup.pm b/build/setup.pm
179 -index 324cc88..c87d79e 100755
180 ---- a/build/setup.pm
181 -+++ b/build/setup.pm
182 -@@ -125,7 +125,7 @@ our %TC_POSIX = (
183 - ccshared => '-fPIC',
184 - ldshared => '-shared @ccshared@',
185 - moarshared => '',
186 -- ldrpath => '-Wl,-rpath,@libdir@ -Wl,-rpath,@prefix@/share/perl6/site/lib',
187 -+ ldrpath => '-Wl,-rpath,/@libdir@ -Wl,-rpath,@prefix@/share/perl6/site/lib',
188 -
189 - arflags => 'rcs',
190 - arout => '',
191
192 diff --git a/dev-lang/moarvm/metadata.xml b/dev-lang/moarvm/metadata.xml
193 deleted file mode 100644
194 index 3e0f367..0000000
195 --- a/dev-lang/moarvm/metadata.xml
196 +++ /dev/null
197 @@ -1,27 +0,0 @@
198 -<?xml version="1.0" encoding="UTF-8"?>
199 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
200 -<pkgmetadata>
201 - <maintainer type="person">
202 - <email>patrick@g.o</email>
203 - <name>Patrick Lauer</name>
204 - </maintainer>
205 - <maintainer type="person">
206 - <email>tomboy64@××××.cn</email>
207 - <name>Matthew Brewer</name>
208 - </maintainer>
209 - <maintainer type="project">
210 - <email>perl@g.o</email>
211 - <name>Gentoo Perl Project</name>
212 - </maintainer>
213 - <use>
214 - <flag name="asan">Enable clang's Address Sanitizer functionality. Expect longer compile time.</flag>
215 - <flag name="clang">Use clang compiler instead of GCC</flag>
216 - <flag name="jit">Enable Just-In-Time-Compiler. Has no effect except on AMD64 and Darwin.</flag>
217 - <flag name="optimize">Enable optimization via CFLAGS</flag>
218 - <flag name="system-libs">Link against the system's shared libraries</flag>
219 - <flag name="ubsan">Enable clang's Undefined Behavior Sanitizer functionality. Expect longer compile time.</flag>
220 - </use>
221 - <upstream>
222 - <remote-id type="github">MoarVM/MoarVM</remote-id>
223 - </upstream>
224 -</pkgmetadata>
225
226 diff --git a/dev-lang/moarvm/moarvm-2016.04-r2.ebuild b/dev-lang/moarvm/moarvm-2016.04-r2.ebuild
227 deleted file mode 100644
228 index 6c0815b..0000000
229 --- a/dev-lang/moarvm/moarvm-2016.04-r2.ebuild
230 +++ /dev/null
231 @@ -1,63 +0,0 @@
232 -# Copyright 1999-2016 Gentoo Foundation
233 -# Distributed under the terms of the GNU General Public License v2
234 -# $Id$
235 -
236 -EAPI=6
237 -
238 -inherit flag-o-matic
239 -
240 -MY_PN="MoarVM"
241 -if [[ ${PV} == "9999" ]]; then
242 - EGIT_REPO_URI="https://github.com/${MY_PN}/${MY_PN}.git"
243 - inherit git-r3
244 - KEYWORDS=""
245 - S="${WORKDIR}/${P}"
246 -else
247 - SRC_URI="http://moarvm.org/releases/${MY_PN}-${PV}.tar.gz"
248 - KEYWORDS="~amd64 ~x86"
249 - S="${WORKDIR}/${MY_PN}-${PV}"
250 -fi
251 -
252 -DESCRIPTION="A 6model-based VM for NQP and Rakudo Perl 6"
253 -HOMEPAGE="http://moarvm.org"
254 -LICENSE="Artistic-2"
255 -SLOT="0"
256 -IUSE="asan clang debug doc +jit static-libs optimize ubsan"
257 -
258 -RDEPEND="dev-libs/libatomic_ops
259 - dev-libs/libtommath
260 - dev-libs/libuv
261 - jit? ( dev-lang/lua:0[deprecated]
262 - dev-lua/LuaBitOp )
263 - virtual/libffi"
264 -DEPEND="${RDEPEND}
265 - clang? ( >=sys-devel/clang-3.1 )
266 - dev-lang/perl"
267 -
268 -PATCHES=( "${FILESDIR}/Configure-2016.04.patch" )
269 -DOCS=( CREDITS README.markdown )
270 -
271 -# Tests are conducted via nqp
272 -RESTRICT=test
273 -
274 -src_configure() {
275 - use doc && DOCS+=( docs/* )
276 - local myconfigargs=(
277 - "--prefix=/usr"
278 - "--has-libtommath"
279 - "--has-libuv"
280 - "--has-libatomic_ops"
281 - "--has-libffi"
282 - "--libdir=$(get_libdir)"
283 - "--compiler=$(usex clang clang gcc)"
284 - "$(usex asan --asan)"
285 - "$(usex debug --debug --no-debug)"
286 - "$(usex jit --lua=/usr/bin/lua --no-jit)"
287 - "$(usex optimize --optimize= --no-optimize)"
288 - "$(usex static-libs --static)"
289 - "$(usex ubsan --ubsan)"
290 - )
291 - use optimize && filter-flags '-O*'
292 -
293 - perl Configure.pl "${myconfigargs[@]}" || die
294 -}
295
296 diff --git a/dev-lang/moarvm/moarvm-2016.05.ebuild b/dev-lang/moarvm/moarvm-2016.05.ebuild
297 deleted file mode 100644
298 index 6c0815b..0000000
299 --- a/dev-lang/moarvm/moarvm-2016.05.ebuild
300 +++ /dev/null
301 @@ -1,63 +0,0 @@
302 -# Copyright 1999-2016 Gentoo Foundation
303 -# Distributed under the terms of the GNU General Public License v2
304 -# $Id$
305 -
306 -EAPI=6
307 -
308 -inherit flag-o-matic
309 -
310 -MY_PN="MoarVM"
311 -if [[ ${PV} == "9999" ]]; then
312 - EGIT_REPO_URI="https://github.com/${MY_PN}/${MY_PN}.git"
313 - inherit git-r3
314 - KEYWORDS=""
315 - S="${WORKDIR}/${P}"
316 -else
317 - SRC_URI="http://moarvm.org/releases/${MY_PN}-${PV}.tar.gz"
318 - KEYWORDS="~amd64 ~x86"
319 - S="${WORKDIR}/${MY_PN}-${PV}"
320 -fi
321 -
322 -DESCRIPTION="A 6model-based VM for NQP and Rakudo Perl 6"
323 -HOMEPAGE="http://moarvm.org"
324 -LICENSE="Artistic-2"
325 -SLOT="0"
326 -IUSE="asan clang debug doc +jit static-libs optimize ubsan"
327 -
328 -RDEPEND="dev-libs/libatomic_ops
329 - dev-libs/libtommath
330 - dev-libs/libuv
331 - jit? ( dev-lang/lua:0[deprecated]
332 - dev-lua/LuaBitOp )
333 - virtual/libffi"
334 -DEPEND="${RDEPEND}
335 - clang? ( >=sys-devel/clang-3.1 )
336 - dev-lang/perl"
337 -
338 -PATCHES=( "${FILESDIR}/Configure-2016.04.patch" )
339 -DOCS=( CREDITS README.markdown )
340 -
341 -# Tests are conducted via nqp
342 -RESTRICT=test
343 -
344 -src_configure() {
345 - use doc && DOCS+=( docs/* )
346 - local myconfigargs=(
347 - "--prefix=/usr"
348 - "--has-libtommath"
349 - "--has-libuv"
350 - "--has-libatomic_ops"
351 - "--has-libffi"
352 - "--libdir=$(get_libdir)"
353 - "--compiler=$(usex clang clang gcc)"
354 - "$(usex asan --asan)"
355 - "$(usex debug --debug --no-debug)"
356 - "$(usex jit --lua=/usr/bin/lua --no-jit)"
357 - "$(usex optimize --optimize= --no-optimize)"
358 - "$(usex static-libs --static)"
359 - "$(usex ubsan --ubsan)"
360 - )
361 - use optimize && filter-flags '-O*'
362 -
363 - perl Configure.pl "${myconfigargs[@]}" || die
364 -}
365
366 diff --git a/dev-lang/moarvm/moarvm-9999.ebuild b/dev-lang/moarvm/moarvm-9999.ebuild
367 deleted file mode 100644
368 index 6c0815b..0000000
369 --- a/dev-lang/moarvm/moarvm-9999.ebuild
370 +++ /dev/null
371 @@ -1,63 +0,0 @@
372 -# Copyright 1999-2016 Gentoo Foundation
373 -# Distributed under the terms of the GNU General Public License v2
374 -# $Id$
375 -
376 -EAPI=6
377 -
378 -inherit flag-o-matic
379 -
380 -MY_PN="MoarVM"
381 -if [[ ${PV} == "9999" ]]; then
382 - EGIT_REPO_URI="https://github.com/${MY_PN}/${MY_PN}.git"
383 - inherit git-r3
384 - KEYWORDS=""
385 - S="${WORKDIR}/${P}"
386 -else
387 - SRC_URI="http://moarvm.org/releases/${MY_PN}-${PV}.tar.gz"
388 - KEYWORDS="~amd64 ~x86"
389 - S="${WORKDIR}/${MY_PN}-${PV}"
390 -fi
391 -
392 -DESCRIPTION="A 6model-based VM for NQP and Rakudo Perl 6"
393 -HOMEPAGE="http://moarvm.org"
394 -LICENSE="Artistic-2"
395 -SLOT="0"
396 -IUSE="asan clang debug doc +jit static-libs optimize ubsan"
397 -
398 -RDEPEND="dev-libs/libatomic_ops
399 - dev-libs/libtommath
400 - dev-libs/libuv
401 - jit? ( dev-lang/lua:0[deprecated]
402 - dev-lua/LuaBitOp )
403 - virtual/libffi"
404 -DEPEND="${RDEPEND}
405 - clang? ( >=sys-devel/clang-3.1 )
406 - dev-lang/perl"
407 -
408 -PATCHES=( "${FILESDIR}/Configure-2016.04.patch" )
409 -DOCS=( CREDITS README.markdown )
410 -
411 -# Tests are conducted via nqp
412 -RESTRICT=test
413 -
414 -src_configure() {
415 - use doc && DOCS+=( docs/* )
416 - local myconfigargs=(
417 - "--prefix=/usr"
418 - "--has-libtommath"
419 - "--has-libuv"
420 - "--has-libatomic_ops"
421 - "--has-libffi"
422 - "--libdir=$(get_libdir)"
423 - "--compiler=$(usex clang clang gcc)"
424 - "$(usex asan --asan)"
425 - "$(usex debug --debug --no-debug)"
426 - "$(usex jit --lua=/usr/bin/lua --no-jit)"
427 - "$(usex optimize --optimize= --no-optimize)"
428 - "$(usex static-libs --static)"
429 - "$(usex ubsan --ubsan)"
430 - )
431 - use optimize && filter-flags '-O*'
432 -
433 - perl Configure.pl "${myconfigargs[@]}" || die
434 -}
435
436 diff --git a/dev-lang/nqp/Manifest b/dev-lang/nqp/Manifest
437 deleted file mode 100644
438 index 3bbe823..0000000
439 --- a/dev-lang/nqp/Manifest
440 +++ /dev/null
441 @@ -1,2 +0,0 @@
442 -DIST nqp-2016.04.tar.gz 5156494 SHA256 9176422eb2a99db24ab520bc78686f3a2c008ba73bf8c7091a790985f5061019 SHA512 5dcb685a90b26fee3e8dac3ca24da11bd967d034b5328232d18d9db37e27645b57259cabf54ef8e10b3ac508b1aa784072f0a9542d30168d3017f86e610c3cee WHIRLPOOL 0711e1471740b0ed181f9e4504f810a084056e74650c0ffb1c6c17e2976b2c1facb6a7e73df5d991d9ffe43f055fe844f0756dbd816375708b4d499a0f7a9162
443 -DIST nqp-2016.05.tar.gz 5159647 SHA256 7fdd76322383632783b4352e8fab144c3d68acbfda5112c1f178d8909277f616 SHA512 c81d2f6ef13fad36ed863869c985049a5e1daa04e979449fbbd3b5b365ff58430711f6a7ed5ac10ff61fe6a78d4f960f76ade7445ecb82eb3100882449747a61 WHIRLPOOL 119237accc6723db4afa27cdbb1409e9d11a572bf24fbd83e8bed3c507193bf2199bb5a1e8a27052d922040892f5ce35ffd30640218bbc15167fff88e70941c7
444
445 diff --git a/dev-lang/nqp/files/enable-external-jars.patch b/dev-lang/nqp/files/enable-external-jars.patch
446 deleted file mode 100644
447 index cf5d4bd..0000000
448 --- a/dev-lang/nqp/files/enable-external-jars.patch
449 +++ /dev/null
450 @@ -1,214 +0,0 @@
451 -diff --git a/Configure.pl b/Configure.pl
452 -index 2064ac8..73e2d27 100755
453 ---- a/Configure.pl
454 -+++ b/Configure.pl
455 -@@ -34,6 +34,7 @@ MAIN: {
456 - 'no-clean',
457 - 'with-parrot=s', 'gen-parrot:s', 'parrot-config=s', 'parrot-option=s@',
458 - 'with-moar=s', 'gen-moar:s', 'moar-option=s@',
459 -+ 'with-asm=s', 'with-asm-tree=s', 'with-jline=s', 'with-jna=s',
460 - 'make-install!', 'makefile-timing!',
461 - 'git-protocol=s',
462 - 'git-depth=s', 'git-reference=s',);
463 -@@ -50,6 +51,53 @@ MAIN: {
464 - "Use --prefix to specify a directory in which parrot is installed.";
465 - }
466 -
467 -+ if ($options{'with-asm'}) {
468 -+ if ($options{'with-asm'} ne '-') {
469 -+ $config{'asm'} = $options{'with-asm'};
470 -+ }
471 -+ } else {
472 -+ $config{'asm'} = "3rdparty/asm/asm-4.1.jar";
473 -+ }
474 -+ if ($options{'with-asm-tree'}) {
475 -+ if ($options{'with-asm-tree'} ne '-') {
476 -+ $config{'asmtree'} = $options{'with-asm-tree'};
477 -+ }
478 -+ } else {
479 -+ $config{'asmtree'} = "3rdparty/asm/asm-tree-4.1.jar";
480 -+ }
481 -+ if ($options{'with-jline'}) {
482 -+ if ($options{'with-jline'} ne '-') {
483 -+ $config{'jline'} = $options{'with-jline'};
484 -+ }
485 -+ } else {
486 -+ $config{'jline'} = "3rdparty/jline/jline-1.0.jar";
487 -+ }
488 -+ if ($options{'with-jna'}) {
489 -+ if ($options{'with-jna'} ne '-') {
490 -+ $config{'jna'} = $options{'with-jna'};
491 -+ }
492 -+ } else {
493 -+ $config{'jna'} = "3rdparty/jna/jna.jar";
494 -+ }
495 -+
496 -+ if ($^O eq 'MSWin32') {
497 -+ $config{'asmfile'} = $config{'asm'};
498 -+ $config{'asmfile'} =~ s/.*\\//;
499 -+ $config{'jlinefile'} = $config{'jline'};
500 -+ $config{'jlinefile'} =~ s/.*\\//;
501 -+ } else {
502 -+ $config{'asmfile'} = $config{'asm'};
503 -+ $config{'asmfile'} =~ s/.*\///;
504 -+ $config{'jlinefile'} = $config{'jline'};
505 -+ $config{'jlinefile'} =~ s/.*\///;
506 -+ }
507 -+
508 -+ fill_template_file(
509 -+ 'tools/build/install-jvm-runner.pl.in',
510 -+ 'tools/build/install-jvm-runner.pl',
511 -+ %config,
512 -+ );
513 -+
514 - my $default_backend;
515 - my @backends;
516 - my %backends;
517 -@@ -357,6 +405,11 @@ General Options:
518 - --gen-moar Download and build a copy of MoarVM to use
519 - --moar-option='--option=value'
520 - Options to pass to MoarVM configuration for --gen-moar
521 -+ --with-asm='/path/to/jar'
522 -+ --with-asm-tree='/path/to/jar'
523 -+ --with-jline='/path/to/jar'
524 -+ --with-jna='/path/to/jar'
525 -+ Provide paths to already installed jars
526 - --git-protocol={ssh,https,git}
527 - Protocol to use for git clone. Default: https
528 - --make-install Immediately run `MAKE install` after configuring
529 -diff --git a/tools/build/Makefile-JVM.in b/tools/build/Makefile-JVM.in
530 -index 27959ad..c19965a 100644
531 ---- a/tools/build/Makefile-JVM.in
532 -+++ b/tools/build/Makefile-JVM.in
533 -@@ -2,7 +2,6 @@ BAT = @bat@
534 - JAVA = java
535 - JAVAC = javac
536 - JAR = jar
537 --ASM = 3rdparty/asm/
538 - J_RUNNER = nqp-j$(BAT)
539 -
540 - NQP_JAR_DIR = $(NQP_LANG_DIR)/runtime
541 -@@ -18,7 +17,11 @@ RUNTIME_JAVAS = \
542 -
543 - RUNTIME_JAR = nqp-runtime.jar
544 -
545 --THIRDPARTY_JARS = $(ASM)asm-4.1.jar@cpsep@$(ASM)asm-tree-4.1.jar@cpsep@3rdparty/jline/jline-1.0.jar@cpsep@3rdparty/jna/jna.jar
546 -+ASM = @asm@
547 -+ASMTREE = @asmtree@
548 -+JLINE = @jline@
549 -+JNA = @jna@
550 -+THIRDPARTY_JARS = $(ASM)@cpsep@$(ASMTREE)@cpsep@$(JLINE)@cpsep@$(JNA)
551 - J_STAGE0 = src/vm/jvm/stage0
552 - J_STAGE1 = $(JVM_BUILD_DIR)/stage1
553 - J_STAGE2 = $(JVM_BUILD_DIR)/stage2
554 -@@ -80,8 +83,8 @@ j-install: j-all
555 - $(MKPATH) $(DESTDIR)$(BIN_DIR)
556 - $(MKPATH) $(DESTDIR)$(NQP_JAR_DIR)
557 - $(MKPATH) $(DESTDIR)$(NQP_LIB_DIR)
558 -- $(CP) 3rdparty/asm/asm-4.1.jar 3rdparty/asm/asm-tree-4.1.jar $(DESTDIR)$(NQP_JAR_DIR)
559 -- $(CP) 3rdparty/jline/jline-1.0.jar 3rdparty/jna/jna.jar $(DESTDIR)$(NQP_JAR_DIR)
560 -+ $(CP) $(ASM) $(ASMTREE) $(DESTDIR)$(NQP_JAR_DIR)
561 -+ $(CP) $(JLINE) $(JNA) $(DESTDIR)$(NQP_JAR_DIR)
562 - $(CP) $(RUNTIME_JAR) $(DESTDIR)$(NQP_JAR_DIR)
563 - $(CP) $(NQP_MO_JAR) $(MODULE_LOADER_JAR) $(DESTDIR)$(NQP_LIB_DIR)
564 - $(CP) $(CORE_SETTING_JAR) $(QASTNODE_JAR) $(QREGEX_JAR) $(DESTDIR)$(NQP_LIB_DIR)
565 -diff --git a/tools/build/install-jvm-runner.pl b/tools/build/install-jvm-runner.pl
566 -deleted file mode 100644
567 -index 14541d6..0000000
568 ---- a/tools/build/install-jvm-runner.pl
569 -+++ /dev/null
570 -@@ -1,44 +0,0 @@
571 --#!/usr/bin/perl
572 --# Copyright (C) 2013, The Perl Foundation.
573 --
574 --use strict;
575 --use warnings;
576 --use 5.008;
577 --use File::Spec;
578 --
579 --my ($destdir, $prefix) = @ARGV;
580 --my $realpath = $destdir.$prefix;
581 --
582 --unless (File::Spec->file_name_is_absolute($prefix)) {
583 -- $prefix = File::Spec->rel2abs($prefix);
584 --}
585 --
586 --if ($^O eq 'MSWin32') {
587 -- my $jar_dir = File::Spec->catfile($prefix, 'share', 'nqp', 'runtime');
588 -- my $lib_dir = File::Spec->catfile($prefix, 'share', 'nqp', 'lib');
589 -- my $install_to = File::Spec->catfile($realpath, 'bin', 'nqp-j.bat');
590 --
591 -- open my $fh, ">", $install_to
592 -- or die "Could not open $install_to: $!";
593 -- print $fh '@java -Xss1m -Xmx512m -Xbootclasspath/a:' . $jar_dir . '\\nqp-runtime.jar;' .
594 -- "$jar_dir\\asm-4.1.jar;$jar_dir\\jline-1.0.jar;$lib_dir\\nqp.jar -cp $lib_dir nqp %*\n";
595 -- close $fh
596 -- or die "Could not close $install_to: $!";
597 --}
598 --else {
599 -- my $nqp_dir = File::Spec->catfile($prefix, qw/share nqp/);
600 -- my $jar_dir = File::Spec->catfile('${NQP_DIR}', 'runtime');
601 -- my $lib_dir = File::Spec->catfile('${NQP_DIR}', 'lib');
602 -- my $jars = "$jar_dir/nqp-runtime.jar:$jar_dir/asm-4.1.jar:$jar_dir/jline-1.0.jar:$lib_dir/nqp.jar";
603 -- my $install_to = File::Spec->catfile($realpath, 'bin', 'nqp-j');
604 --
605 -- open my $fh, ">", $install_to
606 -- or die "Could not open $install_to: $!";
607 -- print $fh "#!/bin/sh\n";
608 -- print $fh ": \${NQP_DIR:=\"$nqp_dir\"}\n";
609 -- print $fh ": \${NQP_JARS:=\"$jars\"}\n";
610 -- print $fh "exec java -Xss1m -Xmx512m -Xbootclasspath/a:\${NQP_JARS} -cp $lib_dir nqp \"\$\@\"\n";
611 -- close $fh
612 -- or die "Could not close $install_to: $!";
613 -- chmod 0755, $install_to;
614 --}
615 -diff --git a/tools/build/install-jvm-runner.pl.in b/tools/build/install-jvm-runner.pl.in
616 -new file mode 100644
617 -index 0000000..92a1109
618 ---- /dev/null
619 -+++ b/tools/build/install-jvm-runner.pl.in
620 -@@ -0,0 +1,44 @@
621 -+#!/usr/bin/perl
622 -+# Copyright (C) 2013, The Perl Foundation.
623 -+
624 -+use strict;
625 -+use warnings;
626 -+use 5.008;
627 -+use File::Spec;
628 -+
629 -+my ($destdir, $prefix) = @ARGV;
630 -+my $realpath = $destdir.$prefix;
631 -+
632 -+unless (File::Spec->file_name_is_absolute($prefix)) {
633 -+ $prefix = File::Spec->rel2abs($prefix);
634 -+}
635 -+
636 -+if ($^O eq 'MSWin32') {
637 -+ my $jar_dir = File::Spec->catfile($prefix, 'share', 'nqp', 'runtime');
638 -+ my $lib_dir = File::Spec->catfile($prefix, 'share', 'nqp', 'lib');
639 -+ my $install_to = File::Spec->catfile($realpath, 'bin', 'nqp-j.bat');
640 -+
641 -+ open my $fh, ">", $install_to
642 -+ or die "Could not open $install_to: $!";
643 -+ print $fh '@java -Xss1m -Xmx512m -Xbootclasspath/a:' . $jar_dir . '\\nqp-runtime.jar;' .
644 -+ "$jar_dir\\@asmfile@;$jar_dir\\@jlinefile@;$lib_dir\\nqp.jar -cp $lib_dir nqp %*\n";
645 -+ close $fh
646 -+ or die "Could not close $install_to: $!";
647 -+}
648 -+else {
649 -+ my $nqp_dir = File::Spec->catfile($prefix, qw/share nqp/);
650 -+ my $jar_dir = File::Spec->catfile('${NQP_DIR}', 'runtime');
651 -+ my $lib_dir = File::Spec->catfile('${NQP_DIR}', 'lib');
652 -+ my $jars = "$jar_dir/nqp-runtime.jar:$jar_dir/@asmfile@:$jar_dir/@jlinefile@:$lib_dir/nqp.jar";
653 -+ my $install_to = File::Spec->catfile($realpath, 'bin', 'nqp-j');
654 -+
655 -+ open my $fh, ">", $install_to
656 -+ or die "Could not open $install_to: $!";
657 -+ print $fh "#!/bin/sh\n";
658 -+ print $fh ": \${NQP_DIR:=\"$nqp_dir\"}\n";
659 -+ print $fh ": \${NQP_JARS:=\"$jars\"}\n";
660 -+ print $fh "exec java -Xss1m -Xmx512m -Xbootclasspath/a:\${NQP_JARS} -cp $lib_dir nqp \"\$\@\"\n";
661 -+ close $fh
662 -+ or die "Could not close $install_to: $!";
663 -+ chmod 0755, $install_to;
664 -+}
665
666 diff --git a/dev-lang/nqp/metadata.xml b/dev-lang/nqp/metadata.xml
667 deleted file mode 100644
668 index 7d0e9d2..0000000
669 --- a/dev-lang/nqp/metadata.xml
670 +++ /dev/null
671 @@ -1,23 +0,0 @@
672 -<?xml version="1.0" encoding="UTF-8"?>
673 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
674 -<pkgmetadata>
675 - <maintainer type="person">
676 - <email>patrick@g.o</email>
677 - <name>Patrick Lauer</name>
678 - </maintainer>
679 - <maintainer type="person">
680 - <email>tomboy64@××××.cn</email>
681 - <name>Matthew Brewer</name>
682 - </maintainer>
683 - <maintainer type="project">
684 - <email>perl@g.o</email>
685 - <name>Gentoo Perl Project</name>
686 - </maintainer>
687 - <use>
688 - <flag name="clang">Toggle usage of the clang compiler in conjunction with MoarVM</flag>
689 - <flag name="moar">Build the MoarVM backend (experimental/broken)</flag>
690 - </use>
691 - <upstream>
692 - <remote-id type="github">perl6/nqp</remote-id>
693 - </upstream>
694 -</pkgmetadata>
695
696 diff --git a/dev-lang/nqp/nqp-2016.04-r3.ebuild b/dev-lang/nqp/nqp-2016.04-r3.ebuild
697 deleted file mode 100644
698 index 35e745f..0000000
699 --- a/dev-lang/nqp/nqp-2016.04-r3.ebuild
700 +++ /dev/null
701 @@ -1,161 +0,0 @@
702 -# Copyright 1999-2016 Gentoo Foundation
703 -# Distributed under the terms of the GNU General Public License v2
704 -# $Id$
705 -
706 -EAPI=5
707 -
708 -inherit java-pkg-opt-2 multibuild
709 -
710 -if [[ ${PV} == "9999" ]]; then
711 - EGIT_REPO_URI="https://github.com/perl6/${PN}.git"
712 - inherit git-r3
713 - KEYWORDS=""
714 -else
715 - SRC_URI="https://github.com/perl6/${PN}/tarball/${PV} -> ${P}.tar.gz"
716 - inherit vcs-snapshot
717 - KEYWORDS="~amd64 ~x86"
718 -fi
719 -
720 -DESCRIPTION="Not Quite Perl, a Perl 6 bootstrapping compiler"
721 -HOMEPAGE="http://rakudo.org/"
722 -
723 -LICENSE="Artistic-2"
724 -SLOT="0"
725 -IUSE="doc clang java +moar test"
726 -REQUIRED_USE="|| ( java moar )"
727 -
728 -CDEPEND="java? (
729 - dev-java/asm:4
730 - dev-java/jline:0
731 - dev-java/jna:4
732 - )
733 - moar? ( ~dev-lang/moarvm-${PV}[clang=] )"
734 -RDEPEND="${CDEPEND}
735 - java? ( >=virtual/jre-1.7 )"
736 -DEPEND="${CDEPEND}
737 - clang? ( sys-devel/clang )
738 - java? ( >=virtual/jdk-1.7 )
739 - dev-lang/perl"
740 -PATCHES=( "${FILESDIR}/enable-external-jars.patch" )
741 -
742 -pkg_pretend() {
743 - if has_version dev-lang/rakudo || has_version dev-lang/nqp; then
744 - ewarn "NQP is known to fail compilation/installation with Rakudo and/or NQP"
745 - ewarn "already being installed. So if it fails, try uninstalling both"
746 - ewarn "dev-lang/nqp and dev-lang/rakudo, then do a new installation."
747 - ewarn "(see Bug #584394)"
748 - fi
749 -}
750 -
751 -java_prepare() {
752 - # Don't clean stage0 jars.
753 - einfo "Cleaning upstream jars"
754 - java-pkg_clean 3rdparty/
755 -
756 - # Don't use jars we just deleted.
757 - sed -i -r 's/(:3rdparty[^:]*)+/:${THIRDPARTY_JARS}/g' \
758 - src/vm/jvm/runners/nqp-j || die
759 -}
760 -
761 -src_prepare() {
762 - MULTIBUILD_VARIANTS=()
763 - use moar && MULTIBUILD_VARIANTS+=( moar )
764 - use java && MULTIBUILD_VARIANTS+=( jvm )
765 -
766 - multibuild_copy_sources
767 -
768 - # This will pull in conditional java_prepare
769 - default
770 -}
771 -
772 -nqp_configure() {
773 - pushd "${BUILD_DIR}" > /dev/null || die
774 - local myconfargs=(
775 - "--backend=${MULTIBUILD_VARIANT}"
776 - "--prefix=/usr" )
777 -
778 - perl Configure.pl "${myconfargs[@]}" || die
779 - popd || die
780 -}
781 -
782 -nqp_compile() {
783 - if [[ "${MULTIBUILD_VARIANT}" = jvm ]]; then
784 - emake -j1 \
785 - -C "${BUILD_DIR}" \
786 - THIRDPARTY_JARS=$(java-pkg_getjars --with-dependencies asm-4,jline,jna-4) \
787 - JAVAC="$(java-pkg_get-javac) $(java-pkg_javac-args)"
788 - elif [[ "${MULTIBUILD_VARIANT}" = moar ]]; then
789 - emake -j1 \
790 - -C "${BUILD_DIR}"
791 - fi
792 -}
793 -
794 -nqp_test() {
795 - emake -j1 \
796 - -C "${BUILD_DIR}" \
797 - test
798 -}
799 -
800 -nqp_install() {
801 - # This is the actual reason we need multibuild.eclass.
802 - # We need to distinguish the install procedure for MoarVM and JVM backends.
803 - case "${MULTIBUILD_VARIANT}" in
804 - moar)
805 - emake \
806 - DESTDIR="${ED}" \
807 - -C "${BUILD_DIR}" \
808 - install
809 - ;;
810 - jvm)
811 - pushd "${BUILD_DIR}" > /dev/null || die
812 - # Set JAVA_PKG_JARDEST early.
813 - java-pkg_init_paths_
814 -
815 - # Upstream sets the classpath to this location. Perhaps it's
816 - # used to locate the additional libraries?
817 - java-pkg_addcp "${JAVA_PKG_JARDEST}"
818 -
819 - insinto "${JAVA_PKG_JARDEST}"
820 - local jar
821 -
822 - for jar in *.jar; do
823 - if has ${jar} ${PN}.jar ${PN}-runtime.jar; then
824 - # jars for NQP itself.
825 - java-pkg_dojar ${jar}
826 - else
827 - # jars used by NQP.
828 - doins ${jar}
829 - fi
830 - done
831 -
832 - # Upstream uses -Xbootclasspath/a, which is faster due to lack
833 - # of verification, but gjl isn't flexible enough yet. :(
834 - java-pkg_dolauncher ${PN}-j --main ${PN}
835 - dosym ${PN}-j /usr/bin/${PN}
836 - dobin tools/jvm/eval-client.pl
837 - popd > /dev/null || die
838 - ;;
839 - *)
840 - die "Unknown MULTIBUILD_VARIANT ${MULTIBUILD_VARIANT}."
841 - ;;
842 - esac
843 -}
844 -
845 -src_configure() {
846 - multibuild_foreach_variant nqp_configure
847 -}
848 -
849 -src_compile() {
850 - multibuild_foreach_variant nqp_compile
851 -}
852 -
853 -src_test() {
854 - multibuild_foreach_variant nqp_test
855 -}
856 -
857 -src_install() {
858 - multibuild_foreach_variant nqp_install
859 -
860 - dodoc CREDITS README.pod
861 - use doc && dodoc -r docs/*
862 -}
863
864 diff --git a/dev-lang/nqp/nqp-2016.05.ebuild b/dev-lang/nqp/nqp-2016.05.ebuild
865 deleted file mode 100644
866 index fe2ace6..0000000
867 --- a/dev-lang/nqp/nqp-2016.05.ebuild
868 +++ /dev/null
869 @@ -1,160 +0,0 @@
870 -# Copyright 1999-2016 Gentoo Foundation
871 -# Distributed under the terms of the GNU General Public License v2
872 -# $Id$
873 -
874 -EAPI=5
875 -
876 -inherit java-pkg-opt-2 multibuild
877 -
878 -if [[ ${PV} == "9999" ]]; then
879 - EGIT_REPO_URI="https://github.com/perl6/${PN}.git"
880 - inherit git-r3
881 - KEYWORDS=""
882 -else
883 - SRC_URI="https://github.com/perl6/${PN}/tarball/${PV} -> ${P}.tar.gz"
884 - inherit vcs-snapshot
885 - KEYWORDS="~amd64 ~x86"
886 -fi
887 -
888 -DESCRIPTION="Not Quite Perl, a Perl 6 bootstrapping compiler"
889 -HOMEPAGE="http://rakudo.org/"
890 -
891 -LICENSE="Artistic-2"
892 -SLOT="0"
893 -IUSE="doc clang java +moar test"
894 -REQUIRED_USE="|| ( java moar )"
895 -
896 -CDEPEND="java? (
897 - dev-java/asm:4
898 - dev-java/jline:0
899 - dev-java/jna:4
900 - )
901 - moar? ( ~dev-lang/moarvm-${PV}[clang=] )"
902 -RDEPEND="${CDEPEND}
903 - java? ( >=virtual/jre-1.7 )"
904 -DEPEND="${CDEPEND}
905 - clang? ( sys-devel/clang )
906 - java? ( >=virtual/jdk-1.7 )
907 - dev-lang/perl"
908 -
909 -pkg_pretend() {
910 - if has_version dev-lang/rakudo || has_version dev-lang/nqp; then
911 - ewarn "NQP is known to fail compilation/installation with Rakudo and/or NQP"
912 - ewarn "already being installed. So if it fails, try uninstalling both"
913 - ewarn "dev-lang/nqp and dev-lang/rakudo, then do a new installation."
914 - ewarn "(see Bug #584394)"
915 - fi
916 -}
917 -
918 -java_prepare() {
919 - # Don't clean stage0 jars.
920 - einfo "Cleaning upstream jars"
921 - java-pkg_clean 3rdparty/
922 -
923 - # Don't use jars we just deleted.
924 - sed -i -r 's/(:3rdparty[^:]*)+/:${THIRDPARTY_JARS}/g' \
925 - src/vm/jvm/runners/nqp-j || die
926 -}
927 -
928 -src_prepare() {
929 - MULTIBUILD_VARIANTS=()
930 - use moar && MULTIBUILD_VARIANTS+=( moar )
931 - use java && MULTIBUILD_VARIANTS+=( jvm )
932 -
933 - multibuild_copy_sources
934 -
935 - # This will pull in conditional java_prepare
936 - default
937 -}
938 -
939 -nqp_configure() {
940 - pushd "${BUILD_DIR}" > /dev/null || die
941 - local myconfargs=(
942 - "--backend=${MULTIBUILD_VARIANT}"
943 - "--prefix=/usr" )
944 -
945 - perl Configure.pl "${myconfargs[@]}" || die
946 - popd || die
947 -}
948 -
949 -nqp_compile() {
950 - if [[ "${MULTIBUILD_VARIANT}" = jvm ]]; then
951 - emake -j1 \
952 - -C "${BUILD_DIR}" \
953 - THIRDPARTY_JARS=$(java-pkg_getjars --with-dependencies asm-4,jline,jna-4) \
954 - JAVAC="$(java-pkg_get-javac) $(java-pkg_javac-args)"
955 - elif [[ "${MULTIBUILD_VARIANT}" = moar ]]; then
956 - emake -j1 \
957 - -C "${BUILD_DIR}"
958 - fi
959 -}
960 -
961 -nqp_test() {
962 - emake -j1 \
963 - -C "${BUILD_DIR}" \
964 - test
965 -}
966 -
967 -nqp_install() {
968 - # This is the actual reason we need multibuild.eclass.
969 - # We need to distinguish the install procedure for MoarVM and JVM backends.
970 - case "${MULTIBUILD_VARIANT}" in
971 - moar)
972 - emake \
973 - DESTDIR="${ED}" \
974 - -C "${BUILD_DIR}" \
975 - install
976 - ;;
977 - jvm)
978 - pushd "${BUILD_DIR}" > /dev/null || die
979 - # Set JAVA_PKG_JARDEST early.
980 - java-pkg_init_paths_
981 -
982 - # Upstream sets the classpath to this location. Perhaps it's
983 - # used to locate the additional libraries?
984 - java-pkg_addcp "${JAVA_PKG_JARDEST}"
985 -
986 - insinto "${JAVA_PKG_JARDEST}"
987 - local jar
988 -
989 - for jar in *.jar; do
990 - if has ${jar} ${PN}.jar ${PN}-runtime.jar; then
991 - # jars for NQP itself.
992 - java-pkg_dojar ${jar}
993 - else
994 - # jars used by NQP.
995 - doins ${jar}
996 - fi
997 - done
998 -
999 - # Upstream uses -Xbootclasspath/a, which is faster due to lack
1000 - # of verification, but gjl isn't flexible enough yet. :(
1001 - java-pkg_dolauncher ${PN}-j --main ${PN}
1002 - dosym ${PN}-j /usr/bin/${PN}
1003 - dobin tools/jvm/eval-client.pl
1004 - popd > /dev/null || die
1005 - ;;
1006 - *)
1007 - die "Unknown MULTIBUILD_VARIANT ${MULTIBUILD_VARIANT}."
1008 - ;;
1009 - esac
1010 -}
1011 -
1012 -src_configure() {
1013 - multibuild_foreach_variant nqp_configure
1014 -}
1015 -
1016 -src_compile() {
1017 - multibuild_foreach_variant nqp_compile
1018 -}
1019 -
1020 -src_test() {
1021 - multibuild_foreach_variant nqp_test
1022 -}
1023 -
1024 -src_install() {
1025 - multibuild_foreach_variant nqp_install
1026 -
1027 - dodoc CREDITS README.pod
1028 - use doc && dodoc -r docs/*
1029 -}
1030
1031 diff --git a/dev-lang/nqp/nqp-9999.ebuild b/dev-lang/nqp/nqp-9999.ebuild
1032 deleted file mode 100644
1033 index fe2ace6..0000000
1034 --- a/dev-lang/nqp/nqp-9999.ebuild
1035 +++ /dev/null
1036 @@ -1,160 +0,0 @@
1037 -# Copyright 1999-2016 Gentoo Foundation
1038 -# Distributed under the terms of the GNU General Public License v2
1039 -# $Id$
1040 -
1041 -EAPI=5
1042 -
1043 -inherit java-pkg-opt-2 multibuild
1044 -
1045 -if [[ ${PV} == "9999" ]]; then
1046 - EGIT_REPO_URI="https://github.com/perl6/${PN}.git"
1047 - inherit git-r3
1048 - KEYWORDS=""
1049 -else
1050 - SRC_URI="https://github.com/perl6/${PN}/tarball/${PV} -> ${P}.tar.gz"
1051 - inherit vcs-snapshot
1052 - KEYWORDS="~amd64 ~x86"
1053 -fi
1054 -
1055 -DESCRIPTION="Not Quite Perl, a Perl 6 bootstrapping compiler"
1056 -HOMEPAGE="http://rakudo.org/"
1057 -
1058 -LICENSE="Artistic-2"
1059 -SLOT="0"
1060 -IUSE="doc clang java +moar test"
1061 -REQUIRED_USE="|| ( java moar )"
1062 -
1063 -CDEPEND="java? (
1064 - dev-java/asm:4
1065 - dev-java/jline:0
1066 - dev-java/jna:4
1067 - )
1068 - moar? ( ~dev-lang/moarvm-${PV}[clang=] )"
1069 -RDEPEND="${CDEPEND}
1070 - java? ( >=virtual/jre-1.7 )"
1071 -DEPEND="${CDEPEND}
1072 - clang? ( sys-devel/clang )
1073 - java? ( >=virtual/jdk-1.7 )
1074 - dev-lang/perl"
1075 -
1076 -pkg_pretend() {
1077 - if has_version dev-lang/rakudo || has_version dev-lang/nqp; then
1078 - ewarn "NQP is known to fail compilation/installation with Rakudo and/or NQP"
1079 - ewarn "already being installed. So if it fails, try uninstalling both"
1080 - ewarn "dev-lang/nqp and dev-lang/rakudo, then do a new installation."
1081 - ewarn "(see Bug #584394)"
1082 - fi
1083 -}
1084 -
1085 -java_prepare() {
1086 - # Don't clean stage0 jars.
1087 - einfo "Cleaning upstream jars"
1088 - java-pkg_clean 3rdparty/
1089 -
1090 - # Don't use jars we just deleted.
1091 - sed -i -r 's/(:3rdparty[^:]*)+/:${THIRDPARTY_JARS}/g' \
1092 - src/vm/jvm/runners/nqp-j || die
1093 -}
1094 -
1095 -src_prepare() {
1096 - MULTIBUILD_VARIANTS=()
1097 - use moar && MULTIBUILD_VARIANTS+=( moar )
1098 - use java && MULTIBUILD_VARIANTS+=( jvm )
1099 -
1100 - multibuild_copy_sources
1101 -
1102 - # This will pull in conditional java_prepare
1103 - default
1104 -}
1105 -
1106 -nqp_configure() {
1107 - pushd "${BUILD_DIR}" > /dev/null || die
1108 - local myconfargs=(
1109 - "--backend=${MULTIBUILD_VARIANT}"
1110 - "--prefix=/usr" )
1111 -
1112 - perl Configure.pl "${myconfargs[@]}" || die
1113 - popd || die
1114 -}
1115 -
1116 -nqp_compile() {
1117 - if [[ "${MULTIBUILD_VARIANT}" = jvm ]]; then
1118 - emake -j1 \
1119 - -C "${BUILD_DIR}" \
1120 - THIRDPARTY_JARS=$(java-pkg_getjars --with-dependencies asm-4,jline,jna-4) \
1121 - JAVAC="$(java-pkg_get-javac) $(java-pkg_javac-args)"
1122 - elif [[ "${MULTIBUILD_VARIANT}" = moar ]]; then
1123 - emake -j1 \
1124 - -C "${BUILD_DIR}"
1125 - fi
1126 -}
1127 -
1128 -nqp_test() {
1129 - emake -j1 \
1130 - -C "${BUILD_DIR}" \
1131 - test
1132 -}
1133 -
1134 -nqp_install() {
1135 - # This is the actual reason we need multibuild.eclass.
1136 - # We need to distinguish the install procedure for MoarVM and JVM backends.
1137 - case "${MULTIBUILD_VARIANT}" in
1138 - moar)
1139 - emake \
1140 - DESTDIR="${ED}" \
1141 - -C "${BUILD_DIR}" \
1142 - install
1143 - ;;
1144 - jvm)
1145 - pushd "${BUILD_DIR}" > /dev/null || die
1146 - # Set JAVA_PKG_JARDEST early.
1147 - java-pkg_init_paths_
1148 -
1149 - # Upstream sets the classpath to this location. Perhaps it's
1150 - # used to locate the additional libraries?
1151 - java-pkg_addcp "${JAVA_PKG_JARDEST}"
1152 -
1153 - insinto "${JAVA_PKG_JARDEST}"
1154 - local jar
1155 -
1156 - for jar in *.jar; do
1157 - if has ${jar} ${PN}.jar ${PN}-runtime.jar; then
1158 - # jars for NQP itself.
1159 - java-pkg_dojar ${jar}
1160 - else
1161 - # jars used by NQP.
1162 - doins ${jar}
1163 - fi
1164 - done
1165 -
1166 - # Upstream uses -Xbootclasspath/a, which is faster due to lack
1167 - # of verification, but gjl isn't flexible enough yet. :(
1168 - java-pkg_dolauncher ${PN}-j --main ${PN}
1169 - dosym ${PN}-j /usr/bin/${PN}
1170 - dobin tools/jvm/eval-client.pl
1171 - popd > /dev/null || die
1172 - ;;
1173 - *)
1174 - die "Unknown MULTIBUILD_VARIANT ${MULTIBUILD_VARIANT}."
1175 - ;;
1176 - esac
1177 -}
1178 -
1179 -src_configure() {
1180 - multibuild_foreach_variant nqp_configure
1181 -}
1182 -
1183 -src_compile() {
1184 - multibuild_foreach_variant nqp_compile
1185 -}
1186 -
1187 -src_test() {
1188 - multibuild_foreach_variant nqp_test
1189 -}
1190 -
1191 -src_install() {
1192 - multibuild_foreach_variant nqp_install
1193 -
1194 - dodoc CREDITS README.pod
1195 - use doc && dodoc -r docs/*
1196 -}
1197
1198 diff --git a/dev-lang/rakudo/Manifest b/dev-lang/rakudo/Manifest
1199 deleted file mode 100644
1200 index eb9ab2e..0000000
1201 --- a/dev-lang/rakudo/Manifest
1202 +++ /dev/null
1203 @@ -1 +0,0 @@
1204 -DIST rakudo-2016.05.tar.gz 2786506 SHA256 f3b3236c22ff75427c87dea1fab1dc9a0b4ca3a97296e64a14c3f2695be7a28a SHA512 524a71fa72fc04ed8a04eebe319d68c051d45082ae4ce0894a34b2c08d5dd1f270fd380ffb9a486c1cbad7df20dd96180a11642dc20f2ef343a386ce9df42ac8 WHIRLPOOL 000c74d0c0c26517b2324a20e91d304fafbf4953e028683b84599cc0508e4d79c8324dd78c95fb456e46163b52bb5615e30ec034813df10c8762a3362ae77fae
1205
1206 diff --git a/dev-lang/rakudo/files/rakudo-2016.04-Makefile.in.patch b/dev-lang/rakudo/files/rakudo-2016.04-Makefile.in.patch
1207 deleted file mode 100644
1208 index adafa0d..0000000
1209 --- a/dev-lang/rakudo/files/rakudo-2016.04-Makefile.in.patch
1210 +++ /dev/null
1211 @@ -1,17 +0,0 @@
1212 -diff -Naur a/tools/build/Makefile-Moar.in b/tools/build/Makefile-Moar.in
1213 ---- a/tools/build/Makefile-Moar.in 2016-02-02 14:27:13.000000000 +0100
1214 -+++ b/tools/build/Makefile-Moar.in 2016-04-22 15:01:35.338534944 +0200
1215 -@@ -87,11 +87,11 @@
1216 - $(M_CC) @moar::ccswitch@ @moar::ccshared@ $(M_CFLAGS) -I$(PREFIX)/include/libatomic_ops \
1217 - -I$(PREFIX)/include/dyncall -I$(PREFIX)/include/moar \
1218 - -I$(PREFIX)/include/sha1 -I$(PREFIX)/include/tinymt -I$(PREFIX)/include/libtommath \
1219 -- -I$(PREFIX)/include/libuv -I$(PREFIX)/include @moar::ccout@$(M_PERL6_OPS_OBJ) $(M_PERL6_OPS_SRC)
1220 -+ -I$(PREFIX)/include/libuv -I$(PREFIX)/include @moar::cincludes@ @moar::ccout@$(M_PERL6_OPS_OBJ) $(M_PERL6_OPS_SRC)
1221 - $(M_CC) @moar::ccswitch@ @moar::ccshared@ $(M_CFLAGS) -I$(PREFIX)/include/libatomic_ops \
1222 - -I$(PREFIX)/include/dyncall -I$(PREFIX)/include/moar \
1223 - -I$(PREFIX)/include/sha1 -I$(PREFIX)/include/tinymt -I$(PREFIX)/include/libtommath \
1224 -- -I$(PREFIX)/include/libuv -I$(PREFIX)/include @moar::ccout@$(M_PERL6_CONT_OBJ) $(M_PERL6_CONT_SRC)
1225 -+ -I$(PREFIX)/include/libuv -I$(PREFIX)/include @moar::cincludes@ @moar::ccout@$(M_PERL6_CONT_OBJ) $(M_PERL6_CONT_SRC)
1226 - $(M_LD) @moar::ldswitch@ -L@moar::libdir@ @moar::ldshared@ $(M_LDFLAGS) @moar::ldout@$(M_PERL6_OPS_DLL) $(M_PERL6_OPS_OBJ) $(M_PERL6_CONT_OBJ) -lmoar @moarimplib@
1227 -
1228 - $(PERL6_ML_MOAR): src/Perl6/ModuleLoader.nqp src/vm/moar/ModuleLoaderVMConfig.nqp
1229
1230 diff --git a/dev-lang/rakudo/files/rakudo-2016.04-jna-lib.patch b/dev-lang/rakudo/files/rakudo-2016.04-jna-lib.patch
1231 deleted file mode 100644
1232 index 3f4532f..0000000
1233 --- a/dev-lang/rakudo/files/rakudo-2016.04-jna-lib.patch
1234 +++ /dev/null
1235 @@ -1,21 +0,0 @@
1236 -Upstream uses -Xbootclasspath, which prevents us from using
1237 -LD_LIBRARY_PATH, thefore we need to set jna.boot.library.path.
1238 -See http://bugs.java.com/bugdatabase/view_bug.do?bug_id=4285197.
1239 -
1240 -Chewi
1241 -2016/05/15
1242 -
1243 -diff -Naur rakudo-2016.04.orig/tools/build/create-jvm-runner.pl rakudo-2016.04/tools/build/create-jvm-runner.pl
1244 ---- rakudo-2016.04.orig/tools/build/create-jvm-runner.pl 2015-12-25 19:23:19.000000000 +0000
1245 -+++ rakudo-2016.04/tools/build/create-jvm-runner.pl 2016-05-15 11:30:37.488085661 +0100
1246 -@@ -60,7 +60,10 @@
1247 - }
1248 -
1249 - my $classpath = join($cpsep, ($jardir, $libdir, $nqplibdir));
1250 -+my $jna_lib = `java-config --query LIBRARY_PATH --package jna-4`;
1251 -+chomp $jna_lib;
1252 - my $jopts = '-noverify -Xms100m -Xbootclasspath/a:' . $perl6jars
1253 -+ . ' -Djna.boot.library.path=' . $jna_lib
1254 - . ' -cp ' . ($^O eq 'MSWin32' ? '"%CLASSPATH%";' : '$CLASSPATH:') . $classpath
1255 - . ' -Dperl6.prefix=' . $prefix
1256 - . ' -Djna.library.path=' . $sharedir
1257
1258 diff --git a/dev-lang/rakudo/metadata.xml b/dev-lang/rakudo/metadata.xml
1259 deleted file mode 100644
1260 index 4d1883d..0000000
1261 --- a/dev-lang/rakudo/metadata.xml
1262 +++ /dev/null
1263 @@ -1,20 +0,0 @@
1264 -<?xml version="1.0" encoding="UTF-8"?>
1265 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
1266 -<pkgmetadata>
1267 - <maintainer type="person">
1268 - <email>patrick@g.o</email>
1269 - <name>Patrick Lauer</name>
1270 - </maintainer>
1271 - <maintainer type="person">
1272 - <email>tomboy64@××××.cn</email>
1273 - <name>Matthew Brewer</name>
1274 - </maintainer>
1275 - <maintainer type="project">
1276 - <email>perl@g.o</email>
1277 - <name>Gentoo Perl Project</name>
1278 - </maintainer>
1279 - <use>
1280 - <flag name="clang">Use Clang to compile the MoarVM backend</flag>
1281 - <flag name="moar">Use the MoarVM as backend</flag>
1282 - </use>
1283 -</pkgmetadata>
1284
1285 diff --git a/dev-lang/rakudo/rakudo-2016.04-r2.ebuild b/dev-lang/rakudo/rakudo-2016.04-r2.ebuild
1286 deleted file mode 100644
1287 index 18eb631..0000000
1288 --- a/dev-lang/rakudo/rakudo-2016.04-r2.ebuild
1289 +++ /dev/null
1290 @@ -1,84 +0,0 @@
1291 -# Copyright 1999-2016 Gentoo Foundation
1292 -# Distributed under the terms of the GNU General Public License v2
1293 -# $Id$
1294 -
1295 -EAPI=5
1296 -
1297 -inherit java-pkg-opt-2
1298 -
1299 -DESCRIPTION="A compiler for the Perl 6 programming language"
1300 -HOMEPAGE="http://rakudo.org"
1301 -
1302 -if [[ ${PV} == "9999" ]]; then
1303 - EGIT_REPO_URI="https://github.com/rakudo/${PN}.git"
1304 - inherit git-r3
1305 - KEYWORDS=""
1306 -else
1307 - SRC_URI="${HOMEPAGE}/downloads/${PN}/${P}.tar.gz"
1308 - KEYWORDS="~amd64 ~x86"
1309 -fi
1310 -
1311 -LICENSE="Artistic-2"
1312 -SLOT="0"
1313 -# TODO: add USE="javascript" once that's usable in nqp
1314 -IUSE="clang java +moar test"
1315 -REQUIRED_USE="|| ( java moar )"
1316 -
1317 -CDEPEND="~dev-lang/nqp-${PV}:${SLOT}=[java?,moar?,clang=]
1318 - >=dev-lang/nqp-2016.04-r3"
1319 -RDEPEND="${CDEPEND}
1320 - java? ( >=virtual/jre-1.7 )"
1321 -DEPEND="${CDEPEND}
1322 - clang? ( sys-devel/clang )
1323 - java? ( >=virtual/jdk-1.7 )
1324 - >=dev-lang/perl-5.10"
1325 -
1326 -PATCHES=(
1327 - "${FILESDIR}/${PN}-2016.04-Makefile.in.patch"
1328 - "${FILESDIR}/${P}-jna-lib.patch"
1329 -)
1330 -
1331 -pkg_pretend() {
1332 - if has_version dev-lang/rakudo; then
1333 - ewarn "Rakudo is known to fail compilation/installation with Rakudo"
1334 - ewarn "already being installed. So if it fails, try unmerging dev-lang/rakudo,"
1335 - ewarn "then do a new installation."
1336 - ewarn "(see Bug #584394)"
1337 - fi
1338 -}
1339 -
1340 -src_prepare() {
1341 - epatch "${PATCHES[@]}"
1342 - epatch_user
1343 -}
1344 -
1345 -src_configure() {
1346 - local backends
1347 - use moar && backends+="moar,"
1348 - use java && backends+="jvm"
1349 -
1350 - local myargs=(
1351 - "--prefix=/usr"
1352 - "--sysroot=/"
1353 - "--sdkroot=/"
1354 - "--backends=${backends}"
1355 - )
1356 -
1357 - perl Configure.pl "${myargs[@]}" || die
1358 -
1359 - if use java; then
1360 - NQP=$(java-pkg_getjars --with-dependencies nqp)
1361 - fi
1362 -}
1363 -
1364 -src_compile() {
1365 - emake DESTDIR="${D}" NQP_JARS="${NQP}" BLD_NQP_JARS="${NQP}"
1366 -}
1367 -
1368 -src_install() {
1369 - emake DESTDIR="${D}" NQP_JARS="${NQP}" BLD_NQP_JARS="${NQP}" install
1370 -}
1371 -
1372 -src_test() {
1373 - RAKUDO_PRECOMP_PREFIX=$(mktemp -d) default
1374 -}
1375
1376 diff --git a/dev-lang/rakudo/rakudo-2016.05.ebuild b/dev-lang/rakudo/rakudo-2016.05.ebuild
1377 deleted file mode 100644
1378 index 821e32f..0000000
1379 --- a/dev-lang/rakudo/rakudo-2016.05.ebuild
1380 +++ /dev/null
1381 @@ -1,80 +0,0 @@
1382 -# Copyright 1999-2016 Gentoo Foundation
1383 -# Distributed under the terms of the GNU General Public License v2
1384 -# $Id$
1385 -
1386 -EAPI=5
1387 -
1388 -inherit java-pkg-opt-2
1389 -
1390 -DESCRIPTION="A compiler for the Perl 6 programming language"
1391 -HOMEPAGE="http://rakudo.org"
1392 -
1393 -if [[ ${PV} == "9999" ]]; then
1394 - EGIT_REPO_URI="https://github.com/rakudo/${PN}.git"
1395 - inherit git-r3
1396 - KEYWORDS=""
1397 -else
1398 - SRC_URI="${HOMEPAGE}/downloads/${PN}/${P}.tar.gz"
1399 - KEYWORDS="~amd64 ~x86"
1400 -fi
1401 -
1402 -LICENSE="Artistic-2"
1403 -SLOT="0"
1404 -# TODO: add USE="javascript" once that's usable in nqp
1405 -IUSE="clang java +moar test"
1406 -REQUIRED_USE="|| ( java moar )"
1407 -
1408 -CDEPEND="~dev-lang/nqp-${PV}:${SLOT}=[java?,moar?,clang=]"
1409 -RDEPEND="${CDEPEND}
1410 - java? ( >=virtual/jre-1.7 )"
1411 -DEPEND="${CDEPEND}
1412 - clang? ( sys-devel/clang )
1413 - java? ( >=virtual/jdk-1.7 )
1414 - >=dev-lang/perl-5.10"
1415 -
1416 -PATCHES=( "${FILESDIR}/${PN}-2016.04-jna-lib.patch" )
1417 -
1418 -pkg_pretend() {
1419 - if has_version dev-lang/rakudo; then
1420 - ewarn "Rakudo is known to fail compilation/installation with Rakudo"
1421 - ewarn "already being installed. So if it fails, try unmerging dev-lang/rakudo,"
1422 - ewarn "then do a new installation."
1423 - ewarn "(see Bug #584394)"
1424 - fi
1425 -}
1426 -
1427 -src_prepare() {
1428 - epatch "${PATCHES[@]}"
1429 - epatch_user
1430 -}
1431 -
1432 -src_configure() {
1433 - local backends
1434 - use moar && backends+="moar,"
1435 - use java && backends+="jvm"
1436 -
1437 - local myargs=(
1438 - "--prefix=/usr"
1439 - "--sysroot=/"
1440 - "--sdkroot=/"
1441 - "--backends=${backends}"
1442 - )
1443 -
1444 - perl Configure.pl "${myargs[@]}" || die
1445 -
1446 - if use java; then
1447 - NQP=$(java-pkg_getjars --with-dependencies nqp)
1448 - fi
1449 -}
1450 -
1451 -src_compile() {
1452 - emake DESTDIR="${D}" NQP_JARS="${NQP}" BLD_NQP_JARS="${NQP}"
1453 -}
1454 -
1455 -src_install() {
1456 - emake DESTDIR="${D}" NQP_JARS="${NQP}" BLD_NQP_JARS="${NQP}" install
1457 -}
1458 -
1459 -src_test() {
1460 - RAKUDO_PRECOMP_PREFIX=$(mktemp -d) default
1461 -}
1462
1463 diff --git a/dev-lang/rakudo/rakudo-9999.ebuild b/dev-lang/rakudo/rakudo-9999.ebuild
1464 deleted file mode 100644
1465 index 821e32f..0000000
1466 --- a/dev-lang/rakudo/rakudo-9999.ebuild
1467 +++ /dev/null
1468 @@ -1,80 +0,0 @@
1469 -# Copyright 1999-2016 Gentoo Foundation
1470 -# Distributed under the terms of the GNU General Public License v2
1471 -# $Id$
1472 -
1473 -EAPI=5
1474 -
1475 -inherit java-pkg-opt-2
1476 -
1477 -DESCRIPTION="A compiler for the Perl 6 programming language"
1478 -HOMEPAGE="http://rakudo.org"
1479 -
1480 -if [[ ${PV} == "9999" ]]; then
1481 - EGIT_REPO_URI="https://github.com/rakudo/${PN}.git"
1482 - inherit git-r3
1483 - KEYWORDS=""
1484 -else
1485 - SRC_URI="${HOMEPAGE}/downloads/${PN}/${P}.tar.gz"
1486 - KEYWORDS="~amd64 ~x86"
1487 -fi
1488 -
1489 -LICENSE="Artistic-2"
1490 -SLOT="0"
1491 -# TODO: add USE="javascript" once that's usable in nqp
1492 -IUSE="clang java +moar test"
1493 -REQUIRED_USE="|| ( java moar )"
1494 -
1495 -CDEPEND="~dev-lang/nqp-${PV}:${SLOT}=[java?,moar?,clang=]"
1496 -RDEPEND="${CDEPEND}
1497 - java? ( >=virtual/jre-1.7 )"
1498 -DEPEND="${CDEPEND}
1499 - clang? ( sys-devel/clang )
1500 - java? ( >=virtual/jdk-1.7 )
1501 - >=dev-lang/perl-5.10"
1502 -
1503 -PATCHES=( "${FILESDIR}/${PN}-2016.04-jna-lib.patch" )
1504 -
1505 -pkg_pretend() {
1506 - if has_version dev-lang/rakudo; then
1507 - ewarn "Rakudo is known to fail compilation/installation with Rakudo"
1508 - ewarn "already being installed. So if it fails, try unmerging dev-lang/rakudo,"
1509 - ewarn "then do a new installation."
1510 - ewarn "(see Bug #584394)"
1511 - fi
1512 -}
1513 -
1514 -src_prepare() {
1515 - epatch "${PATCHES[@]}"
1516 - epatch_user
1517 -}
1518 -
1519 -src_configure() {
1520 - local backends
1521 - use moar && backends+="moar,"
1522 - use java && backends+="jvm"
1523 -
1524 - local myargs=(
1525 - "--prefix=/usr"
1526 - "--sysroot=/"
1527 - "--sdkroot=/"
1528 - "--backends=${backends}"
1529 - )
1530 -
1531 - perl Configure.pl "${myargs[@]}" || die
1532 -
1533 - if use java; then
1534 - NQP=$(java-pkg_getjars --with-dependencies nqp)
1535 - fi
1536 -}
1537 -
1538 -src_compile() {
1539 - emake DESTDIR="${D}" NQP_JARS="${NQP}" BLD_NQP_JARS="${NQP}"
1540 -}
1541 -
1542 -src_install() {
1543 - emake DESTDIR="${D}" NQP_JARS="${NQP}" BLD_NQP_JARS="${NQP}" install
1544 -}
1545 -
1546 -src_test() {
1547 - RAKUDO_PRECOMP_PREFIX=$(mktemp -d) default
1548 -}