From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1270476-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 732571382C5
	for <garchives@archives.gentoo.org>; Tue, 13 Apr 2021 00:27:02 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 13717E0BC7;
	Tue, 13 Apr 2021 00:26:59 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id DF734E0BC7
	for <gentoo-commits@lists.gentoo.org>; Tue, 13 Apr 2021 00:26:58 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 518EA335DE6
	for <gentoo-commits@lists.gentoo.org>; Tue, 13 Apr 2021 00:26:57 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id ADACB730
	for <gentoo-commits@lists.gentoo.org>; Tue, 13 Apr 2021 00:26:53 +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: <1618273592.355e91320a3614993d1b0f349e90e0ce9bded8a6.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-terms/xterm/
X-VCS-Repository: repo/gentoo
X-VCS-Files: x11-terms/xterm/xterm-351.ebuild x11-terms/xterm/xterm-363.ebuild x11-terms/xterm/xterm-365.ebuild x11-terms/xterm/xterm-366.ebuild x11-terms/xterm/xterm-367.ebuild
X-VCS-Directories: x11-terms/xterm/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: 355e91320a3614993d1b0f349e90e0ce9bded8a6
X-VCS-Branch: master
Date: Tue, 13 Apr 2021 00:26:53 +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: dbae3c4b-b9e4-4b4d-8874-277135b426d3
X-Archives-Hash: bc74bd94ef96fa735d0ebc51b45f153d

commit:     355e91320a3614993d1b0f349e90e0ce9bded8a6
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Apr  7 05:15:15 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Apr 13 00:26:32 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=355e9132

x11-terms/xterm: call pkg-config via toolchain-funcs.eclass helper

This ensures we call the correct pkg-config in e.g. cross.

Package-Manager: Portage-3.0.14-prefix, Repoman-3.0.2
Signed-off-by: Sam James <sam <AT> gentoo.org>

 x11-terms/xterm/xterm-351.ebuild | 4 ++--
 x11-terms/xterm/xterm-363.ebuild | 4 ++--
 x11-terms/xterm/xterm-365.ebuild | 4 ++--
 x11-terms/xterm/xterm-366.ebuild | 4 ++--
 x11-terms/xterm/xterm-367.ebuild | 4 ++--
 5 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/x11-terms/xterm/xterm-351.ebuild b/x11-terms/xterm/xterm-351.ebuild
index 33587fde888..f20d7b47463 100644
--- a/x11-terms/xterm/xterm-351.ebuild
+++ b/x11-terms/xterm/xterm-351.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit desktop flag-o-matic multilib
+inherit desktop flag-o-matic multilib toolchain-funcs
 
 DESCRIPTION="Terminal Emulator for X Windows"
 HOMEPAGE="https://invisible-island.net/xterm/"
@@ -47,7 +47,7 @@ src_configure() {
 	# Workaround for ncurses[tinfo] until upstream fixes their buildsystem using
 	# something sane like pkg-config or ncurses5-config and stops guessing libs
 	# Everything gets linked against ncurses anyways, so don't shout
-	append-libs $(pkg-config --libs ncurses)
+	append-libs $($(tc-getPKG_CONFIG) --libs ncurses)
 
 	local myeconfargs=(
 		--disable-full-tgetent

diff --git a/x11-terms/xterm/xterm-363.ebuild b/x11-terms/xterm/xterm-363.ebuild
index 0102172747d..adcd2ef1972 100644
--- a/x11-terms/xterm/xterm-363.ebuild
+++ b/x11-terms/xterm/xterm-363.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit desktop flag-o-matic
+inherit desktop flag-o-matic toolchain-funcs
 
 DESCRIPTION="Terminal Emulator for X Windows"
 HOMEPAGE="https://invisible-island.net/xterm/"
@@ -47,7 +47,7 @@ src_configure() {
 	# Workaround for ncurses[tinfo] until upstream fixes their buildsystem using
 	# something sane like pkg-config or ncurses5-config and stops guessing libs
 	# Everything gets linked against ncurses anyways, so don't shout
-	append-libs $(pkg-config --libs ncurses)
+	append-libs $($(tc-getPKG_CONFIG) --libs ncurses)
 
 	local myeconfargs=(
 		--disable-full-tgetent

diff --git a/x11-terms/xterm/xterm-365.ebuild b/x11-terms/xterm/xterm-365.ebuild
index 0102172747d..adcd2ef1972 100644
--- a/x11-terms/xterm/xterm-365.ebuild
+++ b/x11-terms/xterm/xterm-365.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit desktop flag-o-matic
+inherit desktop flag-o-matic toolchain-funcs
 
 DESCRIPTION="Terminal Emulator for X Windows"
 HOMEPAGE="https://invisible-island.net/xterm/"
@@ -47,7 +47,7 @@ src_configure() {
 	# Workaround for ncurses[tinfo] until upstream fixes their buildsystem using
 	# something sane like pkg-config or ncurses5-config and stops guessing libs
 	# Everything gets linked against ncurses anyways, so don't shout
-	append-libs $(pkg-config --libs ncurses)
+	append-libs $($(tc-getPKG_CONFIG) --libs ncurses)
 
 	local myeconfargs=(
 		--disable-full-tgetent

diff --git a/x11-terms/xterm/xterm-366.ebuild b/x11-terms/xterm/xterm-366.ebuild
index 75ae0d33810..ea017d32b72 100644
--- a/x11-terms/xterm/xterm-366.ebuild
+++ b/x11-terms/xterm/xterm-366.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit desktop flag-o-matic
+inherit desktop flag-o-matic toolchain-funcs
 
 DESCRIPTION="Terminal Emulator for X Windows"
 HOMEPAGE="https://invisible-island.net/xterm/"
@@ -47,7 +47,7 @@ src_configure() {
 	# Workaround for ncurses[tinfo] until upstream fixes their buildsystem using
 	# something sane like pkg-config or ncurses5-config and stops guessing libs
 	# Everything gets linked against ncurses anyways, so don't shout
-	append-libs $(pkg-config --libs ncurses)
+	append-libs $($(tc-getPKG_CONFIG) --libs ncurses)
 
 	local myeconfargs=(
 		--disable-full-tgetent

diff --git a/x11-terms/xterm/xterm-367.ebuild b/x11-terms/xterm/xterm-367.ebuild
index 0102172747d..adcd2ef1972 100644
--- a/x11-terms/xterm/xterm-367.ebuild
+++ b/x11-terms/xterm/xterm-367.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit desktop flag-o-matic
+inherit desktop flag-o-matic toolchain-funcs
 
 DESCRIPTION="Terminal Emulator for X Windows"
 HOMEPAGE="https://invisible-island.net/xterm/"
@@ -47,7 +47,7 @@ src_configure() {
 	# Workaround for ncurses[tinfo] until upstream fixes their buildsystem using
 	# something sane like pkg-config or ncurses5-config and stops guessing libs
 	# Everything gets linked against ncurses anyways, so don't shout
-	append-libs $(pkg-config --libs ncurses)
+	append-libs $($(tc-getPKG_CONFIG) --libs ncurses)
 
 	local myeconfargs=(
 		--disable-full-tgetent