commit:     aa2a055a8d6fea50495b1edf62adbb629f8c06f0
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Fri Jun  7 22:29:05 2024 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Fri Jun  7 22:29:05 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=aa2a055a

sys-devel/binutils-config-5.1-r12: drop eutils usage

- don't use epatch, but eapply
- don't rely on eutils for toolchain-funcs inclusion

Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>

 sys-devel/binutils-config/binutils-config-5.1-r12.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-devel/binutils-config/binutils-config-5.1-r12.ebuild 
b/sys-devel/binutils-config/binutils-config-5.1-r12.ebuild
index 38f82d40b5..0fb7ac67f7 100644
--- a/sys-devel/binutils-config/binutils-config-5.1-r12.ebuild
+++ b/sys-devel/binutils-config/binutils-config-5.1-r12.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-inherit eutils prefix
+inherit toolchain-funcs prefix
 
 DESCRIPTION="Utility to change the binutils version being used"
 HOMEPAGE="https://www.gentoo.org/";
@@ -26,7 +26,7 @@ src_prepare() {
        cp "${FILESDIR}"/${PN}-${PV} ./${PN} || die
        cp "${FILESDIR}"/ldwrapper.c ./${PN}-ldwrapper-${WRAPPER_REV}.c || die
        if use prefix-guest; then
-               epatch "${FILESDIR}/${PN}-5-ldwrapper.patch"
+               eapply "${FILESDIR}/${PN}-5-ldwrapper.patch" || die
        fi
        eprefixify ${PN}
        eapply_user

Reply via email to