aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/cpufetch/cpufetch-0.94_p20210409.ebuild7
1 files changed, 7 insertions, 0 deletions
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"