From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1270469-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 28D681382C5
	for <garchives@archives.gentoo.org>; Tue, 13 Apr 2021 00:27:00 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 4E9C4E0BC2;
	Tue, 13 Apr 2021 00:26:58 +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 34774E0BC2
	for <gentoo-commits@lists.gentoo.org>; Tue, 13 Apr 2021 00:26:58 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(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 2E33D335D00
	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 9A0D372E
	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: <1618273590.5d586db58f70f21c44b84e7ef9e9051be8502ef7.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-plugins/pidgin-xmpp-receipts/
X-VCS-Repository: repo/gentoo
X-VCS-Files: x11-plugins/pidgin-xmpp-receipts/pidgin-xmpp-receipts-0.8.ebuild
X-VCS-Directories: x11-plugins/pidgin-xmpp-receipts/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: 5d586db58f70f21c44b84e7ef9e9051be8502ef7
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: 2bd6537e-7c10-4c92-ba92-ab0537365e47
X-Archives-Hash: f9eda0a7287f732822f91c8c6bfafa89

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

x11-plugins/pidgin-xmpp-receipts: 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-plugins/pidgin-xmpp-receipts/pidgin-xmpp-receipts-0.8.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/x11-plugins/pidgin-xmpp-receipts/pidgin-xmpp-receipts-0.8.ebuild b/x11-plugins/pidgin-xmpp-receipts/pidgin-xmpp-receipts-0.8.ebuild
index 601b7d04adf..f16b5e0b5d7 100644
--- a/x11-plugins/pidgin-xmpp-receipts/pidgin-xmpp-receipts-0.8.ebuild
+++ b/x11-plugins/pidgin-xmpp-receipts/pidgin-xmpp-receipts-0.8.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -19,12 +19,12 @@ DEPEND="${RDEPEND}
 	virtual/pkgconfig"
 
 src_compile() {
-	GTK_PIDGIN_INCLUDES=$(pkg-config --cflags gtk+-2.0 pidgin)
+	GTK_PIDGIN_INCLUDES=$($(tc-getPKG_CONFIG) --cflags gtk+-2.0 pidgin)
 	$(tc-getCC) ${LDFLAGS} -shared ${CFLAGS} -fpic ${GTK_PIDGIN_INCLUDES} -o ${PN/pidgin-/}.so ${PN/pidgin-/}.c || die
 }
 
 src_install() {
-	PLUGIN_DIR_PIDGIN=$(pkg-config --variable=plugindir pidgin)
+	PLUGIN_DIR_PIDGIN=$($(tc-getPKG_CONFIG) --variable=plugindir pidgin)
 	dodir "${PLUGIN_DIR_PIDGIN}"
 	insinto "${PLUGIN_DIR_PIDGIN}"
 	doins ${PN/pidgin-/}.so