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 05C0C1382C5 for ; Fri, 23 Apr 2021 08:48:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 62B2EE095F; Fri, 23 Apr 2021 08:48:05 +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 4C619E095F for ; Fri, 23 Apr 2021 08:48:05 +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 245D6341372 for ; Fri, 23 Apr 2021 08:47:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 32A8574F for ; Fri, 23 Apr 2021 08:47:39 +0000 (UTC) From: "Haelwenn Monnier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Haelwenn Monnier" Message-ID: <1619162049.a1a679c0290acc4c9db11d9024e8a5d5713e52e2.lanodan@gentoo> Subject: [gentoo-commits] repo/proj/guru:master 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: lanodan X-VCS-Committer-Name: Haelwenn Monnier X-VCS-Revision: a1a679c0290acc4c9db11d9024e8a5d5713e52e2 X-VCS-Branch: master Date: Fri, 23 Apr 2021 08:47:39 +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: 4cd27729-2ee5-4e29-8ebc-93e4f4c249a8 X-Archives-Hash: 452f31ab0ffd56ef12e81332eb74e130 commit: a1a679c0290acc4c9db11d9024e8a5d5713e52e2 Author: Mathieu Tortuyaux gmail com> AuthorDate: Fri Apr 23 07:13:53 2021 +0000 Commit: Haelwenn Monnier hacktivis me> 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 }