summary refs log tree commit diff
path: root/x11-wm/9wm/9wm-9999-r1.ebuild
diff options
context:
space:
mode:
authorAzat Bahawi <azahi@teknik.io>2020-11-26 00:56:13 +0300
committerAzat Bahawi <azahi@teknik.io>2020-11-26 00:56:19 +0300
commit8a0576b1a389756f05c50f1516ec122eccff5ae5 (patch)
treebf8fed4f2d2ccbebadbcb799e56ed3fc3ea321cb /x11-wm/9wm/9wm-9999-r1.ebuild
parentx11-misc/devour: Bump version, update build (diff)
x11-wm/9wm: Fix CC exporting in build
Package-Manager: Portage-3.0.10, Repoman-3.0.2
Signed-off-by: Azat Bahawi <azahi@teknik.io>
Diffstat (limited to '')
-rw-r--r--x11-wm/9wm/9wm-9999-r1.ebuild (renamed from x11-wm/9wm/9wm-9999.ebuild)9
1 files changed, 8 insertions, 1 deletions
diff --git a/x11-wm/9wm/9wm-9999.ebuild b/x11-wm/9wm/9wm-9999-r1.ebuild
index 252274c..61236a7 100644
--- a/x11-wm/9wm/9wm-9999.ebuild
+++ b/x11-wm/9wm/9wm-9999-r1.ebuild
@@ -4,10 +4,12 @@
 EAPI=7
 
 if [[ ${PV} == *9999 ]]; then
-	inherit git-r3
+	SCM="git-r3"
 	EGIT_REPO_URI="https://github.com/9wm/9wm.git"
 fi
 
+inherit toolchain-funcs "${SCM}"
+
 DESCRIPTION="X11 window manager inspired by Plan 9's rio"
 HOMEPAGE="https://github.com/9wm/9wm"
 
@@ -32,6 +34,11 @@ BDEPEND=""
 
 DOCS=( CREDITS.md CUSTOMIZING.md README.md )
 
+src_compile() {
+	emake \
+		CC="$(tc-getCC)"
+}
+
 src_install() {
 	default
 	newman ${PN}.man ${PN}.1

Consider giving Nix/NixOS a try! <3