commit:     d08ebb92dd569e09834f8b43d31d4934e6f4d70b
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Wed Jan  3 22:34:33 2018 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Thu Jan  4 09:15:54 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d08ebb92

x11-plugins/gkrellaclock: Eclass update

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 x11-plugins/gkrellaclock/gkrellaclock-0.3.4-r1.ebuild | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

diff --git a/x11-plugins/gkrellaclock/gkrellaclock-0.3.4-r1.ebuild 
b/x11-plugins/gkrellaclock/gkrellaclock-0.3.4-r1.ebuild
index baff467ed08..ecd130b2b60 100644
--- a/x11-plugins/gkrellaclock/gkrellaclock-0.3.4-r1.ebuild
+++ b/x11-plugins/gkrellaclock/gkrellaclock-0.3.4-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -14,16 +14,20 @@ SLOT="2"
 KEYWORDS="alpha amd64 ppc sparc x86"
 IUSE=""
 
-RDEPEND="app-admin/gkrellm[X]"
+RDEPEND="app-admin/gkrellm:2[X]"
 DEPEND="${RDEPEND}"
 
-PATCHES=( "${FILESDIR}/${PN}-makefile.patch" )
-
 S="${WORKDIR}/${P/a/A}"
+PATCHES=( "${FILESDIR}"/${PN}-makefile.patch )
+
+src_prepare() {
+       default
 
-src_compile() {
        # The tarball contains a pre-compiled x86 object that needs to be
        # removed if we're going to build it properly. See bug 166133.
        rm -f gkrellaclock.o || die 'failed to remove gkrellaclock.o'
+}
+
+src_compile() {
        emake CC="$(tc-getCC)"
 }

Reply via email to