summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Thode <prometheanfire@gentoo.org>2017-01-03 16:46:04 -0600
committerMatthew Thode <prometheanfire@gentoo.org>2017-01-03 16:46:04 -0600
commit58e097ea1b52aec579753740303ad9d88878a4a1 (patch)
treee48f901b1e5733673f7ec86f09b44bc87fd03cb8 /sys-block
parentsys-block/open-iscsi: use compat <linux/ethtool.h> to build on musl (diff)
downloadgentoo-58e097ea1b52aec579753740303ad9d88878a4a1.tar.gz
gentoo-58e097ea1b52aec579753740303ad9d88878a4a1.tar.bz2
gentoo-58e097ea1b52aec579753740303ad9d88878a4a1.zip
sys-block/open-iscsi: cleanup the ebuild slightly for eapi6
Package-Manager: portage-2.3.0
Diffstat (limited to 'sys-block')
-rw-r--r--sys-block/open-iscsi/open-iscsi-2.0.874.ebuild12
1 files changed, 7 insertions, 5 deletions
diff --git a/sys-block/open-iscsi/open-iscsi-2.0.874.ebuild b/sys-block/open-iscsi/open-iscsi-2.0.874.ebuild
index 5aea5125c985..fcebbca67890 100644
--- a/sys-block/open-iscsi/open-iscsi-2.0.874.ebuild
+++ b/sys-block/open-iscsi/open-iscsi-2.0.874.ebuild
@@ -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() {