summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Vaněk <arkamar@atlas.cz>2019-10-24 11:10:11 +0200
committerPatrice Clement <monsieurp@gentoo.org>2019-12-11 21:53:40 +0100
commite851a507222a4e4d0a104919cce436c07ec4d203 (patch)
tree075d1f434e24d56efc69130c0978f074cf096552 /app-benchmarks/ioping/ioping-1.1.ebuild
parentapp-benchmarks/ioping: version bump to v1.1. (diff)
downloadgentoo-e851a507222a4e4d0a104919cce436c07ec4d203.tar.gz
gentoo-e851a507222a4e4d0a104919cce436c07ec4d203.tar.bz2
gentoo-e851a507222a4e4d0a104919cce436c07ec4d203.zip
app-benchmarks/ioping: introduce USE flag netdata.
netdata USE applies patch [1] necessary for netdata support. [1] https://github.com/koct9i/ioping/pull/41 Closes: https://bugs.gentoo.org/693596 Package-Manager: Portage-2.3.76, Repoman-2.3.16 Signed-off-by: Petr Vaněk <arkamar@atlas.cz> Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'app-benchmarks/ioping/ioping-1.1.ebuild')
-rw-r--r--app-benchmarks/ioping/ioping-1.1.ebuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/app-benchmarks/ioping/ioping-1.1.ebuild b/app-benchmarks/ioping/ioping-1.1.ebuild
index 2add6686071..a5dbab3ab63 100644
--- a/app-benchmarks/ioping/ioping-1.1.ebuild
+++ b/app-benchmarks/ioping/ioping-1.1.ebuild
@@ -12,7 +12,12 @@ SRC_URI="https://github.com/koct9i/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SLOT="0"
LICENSE="GPL-3"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE=""
+IUSE="netdata"
+
+src_prepare() {
+ use netdata && eapply "${FILESDIR}/${P}-netdata.patch"
+ eapply_user
+}
src_configure() {
tc-export CC