From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 506921382C5 for ; Tue, 13 Apr 2021 00:26:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 55892E0BAB; Tue, 13 Apr 2021 00:26:55 +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 3D487E0BAB for ; Tue, 13 Apr 2021 00:26:55 +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 DD092335D06 for ; Tue, 13 Apr 2021 00:26:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 28E41649 for ; Tue, 13 Apr 2021 00:26:52 +0000 (UTC) From: "Sam James" 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" Message-ID: <1618273573.9d7d59894e67667decb021c618e59232481d0c1a.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-puzzle/zaz/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-puzzle/zaz/zaz-1.0.0-r1.ebuild X-VCS-Directories: games-puzzle/zaz/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 9d7d59894e67667decb021c618e59232481d0c1a X-VCS-Branch: master Date: Tue, 13 Apr 2021 00:26:52 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e17db44e-f883-47e1-9a3e-11603d18eb8d X-Archives-Hash: 73ffc7e2b275cdff80c7ad141124314f commit: 9d7d59894e67667decb021c618e59232481d0c1a Author: Sam James gentoo org> AuthorDate: Wed Apr 7 05:12:27 2021 +0000 Commit: Sam James gentoo org> CommitDate: Tue Apr 13 00:26:13 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d7d5989 games-puzzle/zaz: 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 gentoo.org> games-puzzle/zaz/zaz-1.0.0-r1.ebuild | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/games-puzzle/zaz/zaz-1.0.0-r1.ebuild b/games-puzzle/zaz/zaz-1.0.0-r1.ebuild index 4a3321038e5..ba80059c7f1 100644 --- a/games-puzzle/zaz/zaz-1.0.0-r1.ebuild +++ b/games-puzzle/zaz/zaz-1.0.0-r1.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 -inherit autotools flag-o-matic xdg + +inherit autotools flag-o-matic xdg toolchain-funcs DESCRIPTION="A puzzle game where the player has to arrange balls in triplets" HOMEPAGE="https://sourceforge.net/projects/zaz/" @@ -39,8 +40,8 @@ src_prepare() { src_configure() { append-libs -lvorbis - append-cflags $(pkg-config sdl --cflags) - append-cxxflags $(pkg-config sdl --cflags) + append-cflags $($(tc-getPKG_CONFIG) sdl --cflags) + append-cxxflags $($(tc-getPKG_CONFIG) sdl --cflags) econf \ --with-applicationdir=/usr/share/applications \ --with-icondir=/usr/share/pixmaps \