sys-apps/busybox: EAPI=6 and drop eutils, multilib
authorMarty E. Plummer <hanetzer@startmail.com>
Mon, 23 Apr 2018 00:38:04 +0000 (19:38 -0500)
committerAnthony G. Basile <blueness@gentoo.org>
Mon, 23 Apr 2018 14:17:59 +0000 (10:17 -0400)
Package-Manager: Portage-2.3.31, Repoman-2.3.9

sys-apps/busybox/busybox-1.28.3.ebuild
sys-apps/busybox/busybox-9999.ebuild

index 68000bffa17468ba93a5732a53ea13c9dae51c54..f28bf04dfd7281061d2358c0d304e2a0b8bde20b 100644 (file)
@@ -3,8 +3,9 @@
 
 # See `man savedconfig.eclass` for info on how to use USE=savedconfig.
 
-EAPI="5"
-inherit eutils flag-o-matic savedconfig toolchain-funcs multilib
+EAPI=6
+
+inherit flag-o-matic savedconfig toolchain-funcs
 
 DESCRIPTION="Utilities for rescue and embedded systems"
 HOMEPAGE="https://www.busybox.net/"
@@ -62,14 +63,18 @@ busybox_config_enabled() {
        esac
 }
 
+# patches go here!
+PATCHES=(
+       "${FILESDIR}"/${PN}-1.26.2-bb.patch
+       # "${FILESDIR}"/${P}-*.patch
+)
+
 src_prepare() {
+       default
        unset KBUILD_OUTPUT #88088
        append-flags -fno-strict-aliasing #310413
        use ppc64 && append-flags -mminimal-toc #130943
 
-       # patches go here!
-       epatch "${FILESDIR}"/${PN}-1.26.2-bb.patch
-#      epatch "${FILESDIR}"/${P}-*.patch
        cp "${FILESDIR}"/ginit.c init/ || die
 
        # flag cleanup
index 68000bffa17468ba93a5732a53ea13c9dae51c54..f28bf04dfd7281061d2358c0d304e2a0b8bde20b 100644 (file)
@@ -3,8 +3,9 @@
 
 # See `man savedconfig.eclass` for info on how to use USE=savedconfig.
 
-EAPI="5"
-inherit eutils flag-o-matic savedconfig toolchain-funcs multilib
+EAPI=6
+
+inherit flag-o-matic savedconfig toolchain-funcs
 
 DESCRIPTION="Utilities for rescue and embedded systems"
 HOMEPAGE="https://www.busybox.net/"
@@ -62,14 +63,18 @@ busybox_config_enabled() {
        esac
 }
 
+# patches go here!
+PATCHES=(
+       "${FILESDIR}"/${PN}-1.26.2-bb.patch
+       # "${FILESDIR}"/${P}-*.patch
+)
+
 src_prepare() {
+       default
        unset KBUILD_OUTPUT #88088
        append-flags -fno-strict-aliasing #310413
        use ppc64 && append-flags -mminimal-toc #130943
 
-       # patches go here!
-       epatch "${FILESDIR}"/${PN}-1.26.2-bb.patch
-#      epatch "${FILESDIR}"/${P}-*.patch
        cp "${FILESDIR}"/ginit.c init/ || die
 
        # flag cleanup