commit:     788849af48eaee637b4ef9eac4d761f372124794
Author:     Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de>
AuthorDate: Tue Apr 27 13:13:31 2021 +0000
Commit:     Theo Anderson <telans <AT> posteo <DOT> de>
CommitDate: Tue Apr 27 13:16:30 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=788849af

net-im/srain: Set CC.

The Makefile uses $CC, which is initialized with `cc`.

Closes: https://bugs.gentoo.org/785187
Signed-off-by: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea.de>

 net-im/srain/srain-1.1.1.ebuild | 7 ++++++-
 net-im/srain/srain-1.1.3.ebuild | 7 ++++++-
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/net-im/srain/srain-1.1.1.ebuild b/net-im/srain/srain-1.1.1.ebuild
index 95d44d08f..eb3b3c464 100644
--- a/net-im/srain/srain-1.1.1.ebuild
+++ b/net-im/srain/srain-1.1.1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit xdg
+inherit toolchain-funcs xdg
 
 DESCRIPTION="Modern, beautiful IRC client written in GTK+ 3"
 HOMEPAGE="https://github.com/SrainApp/srain";
@@ -28,3 +28,8 @@ DEPEND="
 src_configure() {
        econf $(use_enable debug)
 }
+
+src_compile() {
+       tc-export CC
+       default
+}

diff --git a/net-im/srain/srain-1.1.3.ebuild b/net-im/srain/srain-1.1.3.ebuild
index 95d44d08f..eb3b3c464 100644
--- a/net-im/srain/srain-1.1.3.ebuild
+++ b/net-im/srain/srain-1.1.3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit xdg
+inherit toolchain-funcs xdg
 
 DESCRIPTION="Modern, beautiful IRC client written in GTK+ 3"
 HOMEPAGE="https://github.com/SrainApp/srain";
@@ -28,3 +28,8 @@ DEPEND="
 src_configure() {
        econf $(use_enable debug)
 }
+
+src_compile() {
+       tc-export CC
+       default
+}

Reply via email to