Skip to content

Commit

Permalink
sys-devel/binutils-config-5.1-r12: drop eutils usage
Browse files Browse the repository at this point in the history
- don't use epatch, but eapply
- don't rely on eutils for toolchain-funcs inclusion

Signed-off-by: Fabian Groffen <[email protected]>
  • Loading branch information
grobian committed Jun 7, 2024
1 parent ac3bfdd commit aa2a055
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sys-devel/binutils-config/binutils-config-5.1-r12.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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/"
Expand All @@ -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
Expand Down

0 comments on commit aa2a055

Please sign in to comment.