summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--x11-wm/9wm/9wm-1.4.1-r1.ebuild (renamed from x11-wm/9wm/9wm-1.4.1.ebuild)9
-rw-r--r--x11-wm/9wm/9wm-9999-r1.ebuild (renamed from x11-wm/9wm/9wm-9999.ebuild)9
-rw-r--r--x11-wm/9wm/metadata.xml3
3 files changed, 19 insertions, 2 deletions
diff --git a/x11-wm/9wm/9wm-1.4.1.ebuild b/x11-wm/9wm/9wm-1.4.1-r1.ebuild
index 252274c..61236a7 100644
--- a/x11-wm/9wm/9wm-1.4.1.ebuild
+++ b/x11-wm/9wm/9wm-1.4.1-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
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
diff --git a/x11-wm/9wm/metadata.xml b/x11-wm/9wm/metadata.xml
index 7869e07..0331b5f 100644
--- a/x11-wm/9wm/metadata.xml
+++ b/x11-wm/9wm/metadata.xml
@@ -5,4 +5,7 @@
 		<email>azahi@teknik.io</email>
 		<name>azahi</name>
 	</maintainer>
+	<upstream>
+		<remote-id type="github">9wm/9wm</remote-id>
+	</upstream>
 </pkgmetadata>

Consider giving Nix/NixOS a try! <3