commit:     86800841556927c5a4a436475efb1839d73c5c5e
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 20 00:34:21 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Apr 20 01:20:28 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86800841

app-editors/hexedit: port to EAPI 7

Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-editors/hexedit/hexedit-1.2.13.ebuild | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

diff --git a/app-editors/hexedit/hexedit-1.2.13.ebuild 
b/app-editors/hexedit/hexedit-1.2.13.ebuild
index 10627d3f7c5..d0b42fcc75f 100644
--- a/app-editors/hexedit/hexedit-1.2.13.ebuild
+++ b/app-editors/hexedit/hexedit-1.2.13.ebuild
@@ -1,8 +1,9 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
-inherit autotools epatch
+EAPI=7
+
+inherit autotools
 
 DESCRIPTION="View and edit files in hex or ASCII"
 HOMEPAGE="http://rigaux.org/hexedit.html";
@@ -15,10 +16,15 @@ KEYWORDS="~alpha amd64 arm arm64 ~hppa ~mips ppc ppc64 
~s390 sparc x86 ~amd64-li
 DEPEND="sys-libs/ncurses:="
 RDEPEND="${DEPEND}"
 
-S=${WORKDIR}/${PN}
+S="${WORKDIR}"/${PN}
+
+PATCHES=(
+       "${FILESDIR}"/${PN}-1.2.13-tinfo.patch
+)
 
 src_prepare() {
-       epatch "${FILESDIR}"/${PN}-1.2.13-tinfo.patch
+       default
+
        mv configure.in configure.ac || die
        eautoreconf
 }

Reply via email to