diff options
authorMichael Orlitzky <>2016-08-15 23:35:55 -0400
committerMichael Orlitzky <>2016-08-15 23:36:20 -0400
commit68605df8c21a9f5b18b67780f956a758a42737dc (patch)
treed4a700de2fc769fb2fd4072dfd28eab84ec80a7a /x11-plugins/gkrellaclock/gkrellaclock-0.3.4-r1.ebuild
parentnet-misc/dhcpcd: 6.11.3 version bump (diff)
x11-plugins/gkrellaclock: new revision to fix CC, CFLAGS, and LDFLAGS.
The build system for this package was a crude Makefile that has been mostly replaced. The inspiration for the fixes was taken from a patch by Gentoo user Michael Mair-Keimberger, who was also kind enough to post an updated ebuild (which I've updated further to EAPI=6). Gentoo-Bug: 339243 Package-Manager: portage-2.2.28
Diffstat (limited to 'x11-plugins/gkrellaclock/gkrellaclock-0.3.4-r1.ebuild')
1 files changed, 30 insertions, 0 deletions
diff --git a/x11-plugins/gkrellaclock/gkrellaclock-0.3.4-r1.ebuild b/x11-plugins/gkrellaclock/gkrellaclock-0.3.4-r1.ebuild
new file mode 100644
index 00000000000..8aadef9cec8
--- /dev/null
+++ b/x11-plugins/gkrellaclock/gkrellaclock-0.3.4-r1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+inherit gkrellm-plugin toolchain-funcs
+DESCRIPTION="Nice analog clock for GKrellM2"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
+PATCHES=( "${FILESDIR}/${PN}-makefile.patch" )
+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'
+ emake CC="$(tc-getCC)"