Gentoo Archives: gentoo-commits

From: Ronny Gutbrod <gentoo@××××××××.de>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: x11-misc/xob/
Date: Fri, 23 Apr 2021 19:21:28
Message-Id: 1619205443.a3801d8749295e6efcaa6aefd3d5d185e287f2f7.tastytea@gentoo
1 commit: a3801d8749295e6efcaa6aefd3d5d185e287f2f7
2 Author: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de>
3 AuthorDate: Fri Apr 23 19:17:23 2021 +0000
4 Commit: Ronny Gutbrod <gentoo <AT> tastytea <DOT> de>
5 CommitDate: Fri Apr 23 19:17:23 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a3801d87
7
8 x11-misc/xob: Set CC.
9
10 Makefile calls `$(CC)`, which seems to default to `cc`.
11
12 Closes: https://bugs.gentoo.org/785211
13 Signed-off-by: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea.de>
14
15 x11-misc/xob/xob-0.2.ebuild | 9 ++++++++-
16 1 file changed, 8 insertions(+), 1 deletion(-)
17
18 diff --git a/x11-misc/xob/xob-0.2.ebuild b/x11-misc/xob/xob-0.2.ebuild
19 index 2a73d3f57..0b54a8433 100644
20 --- a/x11-misc/xob/xob-0.2.ebuild
21 +++ b/x11-misc/xob/xob-0.2.ebuild
22 @@ -1,8 +1,10 @@
23 -# Copyright 2020 Gentoo Authors
24 +# Copyright 2020-2021 Gentoo Authors
25 # Distributed under the terms of the GNU General Public License v2
26
27 EAPI=7
28
29 +inherit toolchain-funcs
30 +
31 DESCRIPTION="A lightweight overlay volume (or anything) bar for the X Window System"
32 HOMEPAGE="https://github.com/florentc/xob"
33 SRC_URI="https://github.com/florentc/xob/archive/v${PV}.tar.gz -> ${P}.tar.gz"
34 @@ -17,6 +19,11 @@ RDEPEND="
35 "
36 DEPEND="${RDEPEND}"
37
38 +src_compile() {
39 + tc-export CC
40 + default
41 +}
42 +
43 src_install() {
44 emake prefix="${EPREFIX}"/usr \
45 sysconfdir="${EPREFIX}"/etc \