commit:     ca511696af9a1eba2b603935a5c86a3f61876374
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Sun Dec  5 10:56:49 2021 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Sun Dec  5 10:56:49 2021 +0000
URL:        https://gitweb.gentoo.org/proj/java.git/commit/?id=ca511696

dev-java/jamvm: update to EAPI 6

Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 dev-java/jamvm/jamvm-2.0.0-r1.ebuild | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/dev-java/jamvm/jamvm-2.0.0-r1.ebuild 
b/dev-java/jamvm/jamvm-2.0.0-r1.ebuild
index 311dd65c..2e431766 100644
--- a/dev-java/jamvm/jamvm-2.0.0-r1.ebuild
+++ b/dev-java/jamvm/jamvm-2.0.0-r1.ebuild
@@ -1,8 +1,7 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
-# $Id$
 
-EAPI=5
+EAPI=6
 
 inherit eutils flag-o-matic multilib java-vm-2 autotools
 
@@ -22,10 +21,14 @@ DEPEND="dev-java/gnu-classpath:0
        sparc? ( virtual/libffi )"
 RDEPEND="${DEPEND}"
 
-src_prepare() {
+PATCHES=(
        # without this patch, classes.zip is not found at runtime
-       epatch "${FILESDIR}/classes-location.patch"
-       epatch "${FILESDIR}/noexecstack.patch"
+       "${FILESDIR}/classes-location.patch"
+       "${FILESDIR}/noexecstack.patch"
+)
+
+src_prepare() {
+       eapply_user
        eautoreconf
 
        # These come precompiled.

Reply via email to