From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1557192-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id C54DD158089
	for <garchives@archives.gentoo.org>; Mon, 25 Sep 2023 13:01:21 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 005AB2BC013;
	Mon, 25 Sep 2023 13:01:21 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id D1CC42BC013
	for <gentoo-commits@lists.gentoo.org>; Mon, 25 Sep 2023 13:01:20 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id D8946335CE3
	for <gentoo-commits@lists.gentoo.org>; Mon, 25 Sep 2023 13:01:19 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 59A1410AB
	for <gentoo-commits@lists.gentoo.org>; Mon, 25 Sep 2023 13:01:18 +0000 (UTC)
From: "Arthur Zamarin" <arthurzam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" <arthurzam@gentoo.org>
Message-ID: <1695646502.c5bc79e914e90097efade012df40509baf5cf5f2.arthurzam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/netperf/
X-VCS-Repository: repo/gentoo
X-VCS-Files: net-analyzer/netperf/netperf-2.7.0-r4.ebuild net-analyzer/netperf/netperf-2.7.0-r5.ebuild
X-VCS-Directories: net-analyzer/netperf/
X-VCS-Committer: arthurzam
X-VCS-Committer-Name: Arthur Zamarin
X-VCS-Revision: c5bc79e914e90097efade012df40509baf5cf5f2
X-VCS-Branch: master
Date: Mon, 25 Sep 2023 13:01:18 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 1458ca1f-a264-4b23-bf96-97b67d776994
X-Archives-Hash: aa3c6823b36207525d1c0966a8680579

commit:     c5bc79e914e90097efade012df40509baf5cf5f2
Author:     Raul E Rangel <rrangel <AT> chromium <DOT> org>
AuthorDate: Tue Aug 15 16:53:30 2023 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Mon Sep 25 12:55:02 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5bc79e9

net-analyzer/netperf: Fix dependencies

The acct- dependencies should be BDEPEND instead of DEPEND.
We also need gnuconfig so that the config.sub will get patched
with `econf`. Otherwise we get the following error:

```
configure: loading site script /usr/share/config.site
configure: loading site script /usr/share/crossdev/include/site/linux
configure: loading site script /usr/share/crossdev/include/site/linux-gnu
checking build system type... x86_64-pc-linux-gnu
checking host system type... Invalid configuration `aarch64-cros-linux-gnu': machine `aarch64-cros' not recognized
configure: error: /bin/sh ./config.sub aarch64-cros-linux-gnu failed
```

vs a good run that has gnuconfig installed prints the following:
```
>>> Configuring source in /build/arm64-generic/tmp/portage/net-analyzer/netperf-2.7.0-r4/work/netperf-2.7.0 ...
 * econf: updating netperf-2.7.0/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating netperf-2.7.0/config.sub with /usr/share/gnuconfig/config.sub
```

Signed-off-by: Raul E Rangel <rrangel <AT> chromium.org>
Closes: https://github.com/gentoo/gentoo/pull/32326
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 .../netperf/{netperf-2.7.0-r4.ebuild => netperf-2.7.0-r5.ebuild}   | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/net-analyzer/netperf/netperf-2.7.0-r4.ebuild b/net-analyzer/netperf/netperf-2.7.0-r5.ebuild
similarity index 97%
rename from net-analyzer/netperf/netperf-2.7.0-r4.ebuild
rename to net-analyzer/netperf/netperf-2.7.0-r5.ebuild
index f2cbe9c445a8..b66c8514fe1b 100644
--- a/net-analyzer/netperf/netperf-2.7.0-r4.ebuild
+++ b/net-analyzer/netperf/netperf-2.7.0-r5.ebuild
@@ -14,11 +14,14 @@ LICENSE="netperf"
 SLOT="0"
 IUSE="demo sctp"
 
-DEPEND="
+RDEPEND="
 	acct-group/netperf
 	acct-user/netperf
 "
-RDEPEND="${DEPEND}"
+BDEPEND="
+	sys-devel/gnuconfig
+	${RDEPEND}
+"
 
 PATCHES=(
 	"${FILESDIR}"/${PN}-fix-scripts.patch