1 |
commit: f74dfb0ac5e7cfba70811c910400ca9c827bd9ec |
2 |
Author: Florian Schmaus <flow <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Dec 5 11:06:12 2021 +0000 |
4 |
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Dec 5 11:06:12 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/java.git/commit/?id=f74dfb0a |
7 |
|
8 |
dev-java/cacao: update to EAPI 6 |
9 |
|
10 |
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org> |
11 |
|
12 |
dev-java/cacao/cacao-1.6.0-r4.ebuild | 17 +++++++++-------- |
13 |
1 file changed, 9 insertions(+), 8 deletions(-) |
14 |
|
15 |
diff --git a/dev-java/cacao/cacao-1.6.0-r4.ebuild b/dev-java/cacao/cacao-1.6.0-r4.ebuild |
16 |
index 8b57d2b5..e509dffc 100644 |
17 |
--- a/dev-java/cacao/cacao-1.6.0-r4.ebuild |
18 |
+++ b/dev-java/cacao/cacao-1.6.0-r4.ebuild |
19 |
@@ -1,7 +1,8 @@ |
20 |
-# Copyright 1999-2018 Gentoo Foundation |
21 |
+# Copyright 1999-2021 Gentoo Authors |
22 |
# Distributed under the terms of the GNU General Public License v2 |
23 |
|
24 |
-EAPI=5 |
25 |
+EAPI=6 |
26 |
+ |
27 |
AUTOTOOLS_AUTO_DEPEND="no" |
28 |
|
29 |
inherit autotools eutils flag-o-matic java-pkg-2 java-vm-2 |
30 |
@@ -26,14 +27,18 @@ DEPEND="${COMMON_DEPEND} |
31 |
) |
32 |
" |
33 |
|
34 |
+PATCHES=( |
35 |
+ "${FILESDIR}/system-boehm-gc.patch" |
36 |
+ "${FILESDIR}/support-7.patch" |
37 |
+) |
38 |
+ |
39 |
src_prepare() { |
40 |
+ eapply_user |
41 |
if use test; then |
42 |
sed -ie "s:/usr/share/java/junit4.jar:$(java-config -p junit-4):" \ |
43 |
./tests/regression/bugzilla/Makefile.am \ |
44 |
./tests/regression/base/Makefile.am || die "sed failed" |
45 |
fi |
46 |
- epatch "${FILESDIR}/system-boehm-gc.patch" |
47 |
- epatch "${FILESDIR}/support-7.patch" |
48 |
eautoreconf |
49 |
} |
50 |
|
51 |
@@ -50,10 +55,6 @@ src_configure() { |
52 |
--with-jni_md_h="${EPREFIX}"/usr/include/classpath |
53 |
} |
54 |
|
55 |
-src_compile() { |
56 |
- default |
57 |
-} |
58 |
- |
59 |
src_install() { |
60 |
local libdir=$(get_libdir) |
61 |
local CLASSPATH_DIR=/usr/libexec/gnu-classpath |