sys-block/open-iscsi: cleanup the ebuild slightly for eapi6
authorMatthew Thode <prometheanfire@gentoo.org>
Tue, 3 Jan 2017 22:46:04 +0000 (16:46 -0600)
committerMatthew Thode <prometheanfire@gentoo.org>
Tue, 3 Jan 2017 22:46:04 +0000 (16:46 -0600)
Package-Manager: portage-2.3.0

sys-block/open-iscsi/open-iscsi-2.0.874.ebuild

index 5aea5125c985127935dd908f1e1c6b88b0312a58..fcebbca67890b720dd6eca04838cfcbf3692ac80 100644 (file)
@@ -23,6 +23,12 @@ RDEPEND="${DEPEND}
        sys-apps/util-linux"
 REQUIRED_USE="infiniband? ( rdma ) || ( rdma tcp )"
 
+PATCHES=(
+       "${FILESDIR}/${P}-Makefiles.patch"
+       "${FILESDIR}/${P}-musl-fixes.patch"
+       "${FILESDIR}/${P}-musl-ethtool-compat.patch"
+)
+
 pkg_setup() {
        linux-info_pkg_setup
 
@@ -59,12 +65,8 @@ pkg_setup() {
 }
 
 src_prepare() {
-       eapply "${FILESDIR}"/${P}-Makefiles.patch
-       eapply "${FILESDIR}"/${P}-musl-fixes.patch
-       eapply "${FILESDIR}"/${P}-musl-ethtool-compat.patch
-       eapply_user
-
        sed -i -e 's:^\(iscsid.startup\)\s*=.*:\1 = /usr/sbin/iscsid:' etc/iscsid.conf || die
+       default
 }
 
 src_configure() {