summary refs log tree commit diff
path: root/x11-wm/9wm/9wm-9999-r1.ebuild
diff options
context:
space:
mode:
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