dev-util/elfkickers: epatch->PATCHES=()
authorMarty E. Plummer <hanetzer@startmail.com>
Fri, 20 Apr 2018 16:36:55 +0000 (11:36 -0500)
committerAnthony G. Basile <blueness@gentoo.org>
Sat, 21 Apr 2018 11:15:12 +0000 (07:15 -0400)
Also dropped unneeded eutils eclass.

Package-Manager: Portage-2.3.31, Repoman-2.3.9

dev-util/elfkickers/elfkickers-3.1.ebuild

index 57d7594f539ca99d51b1d6ef8b4685a876f98c98..0fd4830cc4eb824bd21f781aec9c9884af2059cd 100644 (file)
@@ -1,9 +1,9 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="6"
+EAPI=6
 
-inherit eutils toolchain-funcs
+inherit toolchain-funcs
 
 MY_PN=${PN/elf/ELF}-${PV}
 S=${WORKDIR}/${MY_PN}
@@ -20,13 +20,16 @@ IUSE="doc"
 DEPEND="app-misc/pax-utils"
 RDEPEND=""
 
+PATCHES=(
+       "${FILESDIR}"/${P}-respect-CFLAGS-LDFLAGS.patch
+       "${FILESDIR}"/${P}-create-destdir-path.patch
+       "${FILESDIR}"/add-freebsd-elf-defs.patch
+)
+
 src_prepare() {
-       epatch "${FILESDIR}"/${P}-respect-CFLAGS-LDFLAGS.patch
-       epatch "${FILESDIR}"/${P}-create-destdir-path.patch
-       epatch "${FILESDIR}"/add-freebsd-elf-defs.patch
+       default
        sed -i -e "s:^prefix = /usr/local:prefix = ${D}:" Makefile \
                || die "sed failed"
-       eapply_user
 }
 
 src_compile() {