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 672771382C5 for ; Fri, 23 Apr 2021 07:16:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 739CCE086C; Fri, 23 Apr 2021 07:16:13 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 3908BE086C for ; Fri, 23 Apr 2021 07:16:13 +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 9B74D340CC9 for ; Fri, 23 Apr 2021 07:16:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D6A595D2 for ; Fri, 23 Apr 2021 07:16:09 +0000 (UTC) From: "Mathieu Tortuyaux" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mathieu Tortuyaux" Message-ID: <1619162049.a1a679c0290acc4c9db11d9024e8a5d5713e52e2.MathieuTortuyaux@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-misc/afetch/ X-VCS-Repository: repo/proj/guru X-VCS-Files: app-misc/afetch/afetch-2.1.0.ebuild X-VCS-Directories: app-misc/afetch/ X-VCS-Committer: MathieuTortuyaux X-VCS-Committer-Name: Mathieu Tortuyaux X-VCS-Revision: a1a679c0290acc4c9db11d9024e8a5d5713e52e2 X-VCS-Branch: dev Date: Fri, 23 Apr 2021 07:16:09 +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: 64c13540-36b9-40bc-a176-b6a02d3b0c95 X-Archives-Hash: dd4d7b65b445a3f8722cdcd6ccb66fab commit: a1a679c0290acc4c9db11d9024e8a5d5713e52e2 Author: Mathieu Tortuyaux gmail com> AuthorDate: Fri Apr 23 07:13:53 2021 +0000 Commit: Mathieu Tortuyaux gmail com> CommitDate: Fri Apr 23 07:14:09 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a1a679c0 app-misc/afetch: remove direct CC call Closes: https://bugs.gentoo.org/784809 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Mathieu Tortuyaux gmail.com> app-misc/afetch/afetch-2.1.0.ebuild | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/app-misc/afetch/afetch-2.1.0.ebuild b/app-misc/afetch/afetch-2.1.0.ebuild index 166978dbf..377e2194e 100644 --- a/app-misc/afetch/afetch-2.1.0.ebuild +++ b/app-misc/afetch/afetch-2.1.0.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit savedconfig +inherit savedconfig toolchain-funcs DESCRIPTION="Simple system info written in C" HOMEPAGE="https://github.com/13-CF/afetch/" @@ -14,12 +14,16 @@ SLOT="0" KEYWORDS="~amd64" IUSE="savedconfig" +src_compile() { + emake CC="$(tc-getCC)" DESTDIR="${ED}" PREFIX="${EPREFIX}"/usr afetch +} + src_prepare() { default restore_config src/config.h } src_install() { - emake DESTDIR="${ED}" PREFIX="${EPREFIX}"/usr install + default save_config src/config.h }