From 89308c6a370e07097d6d49e73b76a42027cf08e9 Mon Sep 17 00:00:00 2001 From: Alessandro Barbieri Date: Wed, 21 Apr 2021 22:29:47 +0200 Subject: app-misc/cpufetch: use tcgetcc Closes: https://bugs.gentoo.org/784827 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Alessandro Barbieri --- app-misc/cpufetch/cpufetch-0.94_p20210409.ebuild | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'app-misc/cpufetch') diff --git a/app-misc/cpufetch/cpufetch-0.94_p20210409.ebuild b/app-misc/cpufetch/cpufetch-0.94_p20210409.ebuild index a51f7908d..6f68bb6dd 100644 --- a/app-misc/cpufetch/cpufetch-0.94_p20210409.ebuild +++ b/app-misc/cpufetch/cpufetch-0.94_p20210409.ebuild @@ -3,6 +3,8 @@ EAPI=7 +inherit toolchain-funcs + COMMIT="8f2f3d3a1652b87162f763a88a5070cf25c2e6d7" DESCRIPTION="Simplistic yet fancy CPU architecture fetching tool" HOMEPAGE="https://github.com/Dr-Noob/cpufetch" @@ -14,6 +16,11 @@ KEYWORDS="~amd64" PATCHES=( "${FILESDIR}/makefile-${PV}.patch" ) S="${WORKDIR}/${PN}-${COMMIT}" +src_prepare() { + default + export CC=$(tc-getCC) +} + src_install() { dobin "${PN}" doman "${PN}.8" -- cgit v1.2.3-65-gdbad