commit:     38babfee16ab1c8ce57bed8d84fc00b452d77bef
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 20 17:32:36 2020 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Thu Aug 20 17:50:17 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38babfee

sys-fs/jfsutils: migrate to EAPI=7

Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 sys-fs/jfsutils/jfsutils-1.1.15-r1.ebuild | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/sys-fs/jfsutils/jfsutils-1.1.15-r1.ebuild 
b/sys-fs/jfsutils/jfsutils-1.1.15-r1.ebuild
index 9d17529ffec..b618e667ca7 100644
--- a/sys-fs/jfsutils/jfsutils-1.1.15-r1.ebuild
+++ b/sys-fs/jfsutils/jfsutils-1.1.15-r1.ebuild
@@ -1,9 +1,9 @@
 # Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=7
 
-inherit flag-o-matic eutils
+inherit flag-o-matic
 
 DESCRIPTION="IBM's Journaling Filesystem (JFS) Utilities"
 HOMEPAGE="http://jfs.sourceforge.net/";
@@ -16,10 +16,10 @@ IUSE="static"
 
 DOCS=( AUTHORS ChangeLog NEWS README )
 
-src_prepare() {
-       epatch "${FILESDIR}"/${P}-linux-headers.patch #448844
-       epatch "${FILESDIR}"/${P}-sysmacros.patch #580056
-}
+PATCHES=(
+       "${FILESDIR}"/${P}-linux-headers.patch #448844
+       "${FILESDIR}"/${P}-sysmacros.patch #580056
+)
 
 src_configure() {
        # It doesn't compile on alpha without this LDFLAGS
@@ -33,6 +33,6 @@ src_install() {
        default
 
        rm -f "${ED}"/sbin/{mkfs,fsck}.jfs || die
-       dosym /sbin/jfs_mkfs /sbin/mkfs.jfs
-       dosym /sbin/jfs_fsck /sbin/fsck.jfs
+       dosym jfs_mkfs /sbin/mkfs.jfs
+       dosym jfs_fsck /sbin/fsck.jfs
 }

Reply via email to