summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-arch/fastjar/fastjar-0.98-r3.ebuild20
1 files changed, 9 insertions, 11 deletions
diff --git a/app-arch/fastjar/fastjar-0.98-r3.ebuild b/app-arch/fastjar/fastjar-0.98-r3.ebuild
index c33c9d06c5b7..791e30817363 100644
--- a/app-arch/fastjar/fastjar-0.98-r3.ebuild
+++ b/app-arch/fastjar/fastjar-0.98-r3.ebuild
@@ -1,9 +1,7 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-
-inherit eutils
+EAPI=7
DESCRIPTION="A jar program written in C"
HOMEPAGE="https://savannah.nongnu.org/projects/fastjar"
@@ -13,12 +11,12 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~arm64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris"
-IUSE=""
-
-# bug #188542
-RDEPEND="!<=dev-java/kaffe-1.1.7-r5"
+DEPEND="sys-libs/zlib"
+RDEPEND="
+ ${DEPEND}
+ !<=dev-java/kaffe-1.1.7-r5" # bug 188542
-src_prepare() {
- # bug #325557
- epatch "${FILESDIR}/0.98-traversal.patch"
-}
+PATCHES=(
+ # bug 325557
+ "${FILESDIR}"/0.98-traversal.patch
+)