Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/iperf/
Date: Tue, 18 Aug 2020 11:10:44
Message-Id: 1597749019.d5af0ceadc4a82de135b5083fb1e028809e86ae0.jer@gentoo
1 commit: d5af0ceadc4a82de135b5083fb1e028809e86ae0
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Tue Aug 18 11:10:00 2020 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Tue Aug 18 11:10:19 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5af0cea
7
8 net-misc/iperf: Set AR
9
10 Package-Manager: Portage-3.0.3, Repoman-3.0.0
11 Closes: https://bugs.gentoo.org/737832
12 Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
13
14 net-misc/iperf/iperf-2.0.14a.ebuild | 7 ++++++-
15 net-misc/iperf/iperf-2.99999.99999.ebuild | 8 ++++++--
16 2 files changed, 12 insertions(+), 3 deletions(-)
17
18 diff --git a/net-misc/iperf/iperf-2.0.14a.ebuild b/net-misc/iperf/iperf-2.0.14a.ebuild
19 index 25750ac9167..15f7dc5179f 100644
20 --- a/net-misc/iperf/iperf-2.0.14a.ebuild
21 +++ b/net-misc/iperf/iperf-2.0.14a.ebuild
22 @@ -1,7 +1,8 @@
23 -# Copyright 1999-2019 Gentoo Authors
24 +# Copyright 1999-2020 Gentoo Authors
25 # Distributed under the terms of the GNU General Public License v2
26
27 EAPI=7
28 +inherit toolchain-funcs
29
30 DESCRIPTION="Tool to measure IP bandwidth using UDP or TCP"
31 HOMEPAGE="https://sourceforge.net/projects/iperf2/"
32 @@ -26,6 +27,10 @@ src_configure() {
33 $(use_enable threads)
34 }
35
36 +src_compile() {
37 + emake AR="$(tc-getAR)"
38 +}
39 +
40 src_install() {
41 default
42 dodoc doc/*
43
44 diff --git a/net-misc/iperf/iperf-2.99999.99999.ebuild b/net-misc/iperf/iperf-2.99999.99999.ebuild
45 index 0e887f4a4e2..5d1c5b42d4a 100644
46 --- a/net-misc/iperf/iperf-2.99999.99999.ebuild
47 +++ b/net-misc/iperf/iperf-2.99999.99999.ebuild
48 @@ -1,8 +1,8 @@
49 -# Copyright 1999-2019 Gentoo Authors
50 +# Copyright 1999-2020 Gentoo Authors
51 # Distributed under the terms of the GNU General Public License v2
52
53 EAPI=7
54 -inherit git-r3
55 +inherit git-r3 toolchain-funcs
56
57 DESCRIPTION="Tool to measure IP bandwidth using UDP or TCP"
58 HOMEPAGE="https://sourceforge.net/projects/iperf2/"
59 @@ -25,6 +25,10 @@ src_configure() {
60 $(use_enable threads)
61 }
62
63 +src_compile() {
64 + emake AR="$(tc-getAR)"
65 +}
66 +
67 src_install() {
68 default
69 dodoc doc/*