Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-plugins/gkrellaclock/
Date: Thu, 04 Jan 2018 09:17:14
Message-Id: 1515057354.d08ebb92dd569e09834f8b43d31d4934e6f4d70b.soap@gentoo
1 commit: d08ebb92dd569e09834f8b43d31d4934e6f4d70b
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jan 3 22:34:33 2018 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 4 09:15:54 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d08ebb92
7
8 x11-plugins/gkrellaclock: Eclass update
9
10 Package-Manager: Portage-2.3.19, Repoman-2.3.6
11
12 x11-plugins/gkrellaclock/gkrellaclock-0.3.4-r1.ebuild | 14 +++++++++-----
13 1 file changed, 9 insertions(+), 5 deletions(-)
14
15 diff --git a/x11-plugins/gkrellaclock/gkrellaclock-0.3.4-r1.ebuild b/x11-plugins/gkrellaclock/gkrellaclock-0.3.4-r1.ebuild
16 index baff467ed08..ecd130b2b60 100644
17 --- a/x11-plugins/gkrellaclock/gkrellaclock-0.3.4-r1.ebuild
18 +++ b/x11-plugins/gkrellaclock/gkrellaclock-0.3.4-r1.ebuild
19 @@ -1,4 +1,4 @@
20 -# Copyright 1999-2017 Gentoo Foundation
21 +# Copyright 1999-2018 Gentoo Foundation
22 # Distributed under the terms of the GNU General Public License v2
23
24 EAPI=6
25 @@ -14,16 +14,20 @@ SLOT="2"
26 KEYWORDS="alpha amd64 ppc sparc x86"
27 IUSE=""
28
29 -RDEPEND="app-admin/gkrellm[X]"
30 +RDEPEND="app-admin/gkrellm:2[X]"
31 DEPEND="${RDEPEND}"
32
33 -PATCHES=( "${FILESDIR}/${PN}-makefile.patch" )
34 -
35 S="${WORKDIR}/${P/a/A}"
36 +PATCHES=( "${FILESDIR}"/${PN}-makefile.patch )
37 +
38 +src_prepare() {
39 + default
40
41 -src_compile() {
42 # The tarball contains a pre-compiled x86 object that needs to be
43 # removed if we're going to build it properly. See bug 166133.
44 rm -f gkrellaclock.o || die 'failed to remove gkrellaclock.o'
45 +}
46 +
47 +src_compile() {
48 emake CC="$(tc-getCC)"
49 }