summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2018-01-03 23:34:33 +0100
committerDavid Seifert <soap@gentoo.org>2018-01-04 10:15:54 +0100
commitd08ebb92dd569e09834f8b43d31d4934e6f4d70b (patch)
treef87f1aaeb76c1f6dbc52076f252c29093e01f839 /x11-plugins
parentx11-plugins/gkrellm-imonc: Eclass update (diff)
downloadgentoo-d08ebb92dd569e09834f8b43d31d4934e6f4d70b.tar.gz
gentoo-d08ebb92dd569e09834f8b43d31d4934e6f4d70b.tar.bz2
gentoo-d08ebb92dd569e09834f8b43d31d4934e6f4d70b.zip
x11-plugins/gkrellaclock: Eclass update
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'x11-plugins')
-rw-r--r--x11-plugins/gkrellaclock/gkrellaclock-0.3.4-r1.ebuild14
1 files 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 baff467ed08a..ecd130b2b603 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)"
}