From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1345948-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 6D04B158087
	for <garchives@archives.gentoo.org>; Sun,  5 Dec 2021 03:26:31 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 7E85A2BC056;
	Sun,  5 Dec 2021 03:26:30 +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))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 6621F2BC056
	for <gentoo-commits@lists.gentoo.org>; Sun,  5 Dec 2021 03:26:30 +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))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 6A99C34350C
	for <gentoo-commits@lists.gentoo.org>; Sun,  5 Dec 2021 03:26:29 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 021B810C
	for <gentoo-commits@lists.gentoo.org>; Sun,  5 Dec 2021 03:26:28 +0000 (UTC)
From: "Sam James" <sam@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, "Sam James" <sam@gentoo.org>
Message-ID: <1638674779.e091f25b0e16f971e2693d79b4a8bee1b11d9050.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/bcc/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-util/bcc/bcc-0.23.0-r3.ebuild
X-VCS-Directories: dev-util/bcc/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: e091f25b0e16f971e2693d79b4a8bee1b11d9050
X-VCS-Branch: master
Date: Sun,  5 Dec 2021 03:26:28 +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: fc92a8cf-9382-4aa5-8fb3-a2cb96d4f826
X-Archives-Hash: 68f24ca5fa7d3a71b98770d1a30de492

commit:     e091f25b0e16f971e2693d79b4a8bee1b11d9050
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Dec  5 03:23:16 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Dec  5 03:26:19 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e091f25b

dev-util/bcc: fix pkg-config call

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-util/bcc/bcc-0.23.0-r3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-util/bcc/bcc-0.23.0-r3.ebuild b/dev-util/bcc/bcc-0.23.0-r3.ebuild
index dc810e641127..20e896fce14b 100644
--- a/dev-util/bcc/bcc-0.23.0-r3.ebuild
+++ b/dev-util/bcc/bcc-0.23.0-r3.ebuild
@@ -7,7 +7,7 @@ LUA_COMPAT=( luajit )
 PYTHON_COMPAT=( python3_{7..10} )
 LLVM_MAX_SLOT=13
 
-inherit cmake eapi8-dosym linux-info llvm lua-single python-r1
+inherit cmake eapi8-dosym linux-info llvm lua-single python-r1 toolchain-funcs
 
 DESCRIPTION="Tools for BPF-based Linux IO analysis, networking, monitoring, and more"
 HOMEPAGE="https://iovisor.github.io/bcc/"
@@ -93,7 +93,7 @@ src_configure() {
 		-DREVISION=${PV%%_*}
 		-DENABLE_LLVM_SHARED=ON
 		-DCMAKE_USE_LIBBPF_PACKAGE=ON
-		-DLIBBPF_INCLUDE_DIRS="$(pkg-config --cflags-only-I libbpf | sed 's:-I::g')"
+		-DLIBBPF_INCLUDE_DIRS="$($(tc-getPKG_CONFIG) --cflags-only-I libbpf | sed 's:-I::g')"
 		-DKERNEL_INCLUDE_DIRS="${KERNEL_DIR}"
 		-DPYTHON_CMD="${bcc_python_impls%;}"
 		-Wno-dev