summaryrefslogtreecommitdiff
path: root/x11-plugins/gkrellaclock
diff options
context:
space:
mode:
Diffstat (limited to 'x11-plugins/gkrellaclock')
-rw-r--r--x11-plugins/gkrellaclock/Manifest2
-rw-r--r--x11-plugins/gkrellaclock/gkrellaclock-0.3.4-r1.ebuild14
2 files changed, 10 insertions, 6 deletions
diff --git a/x11-plugins/gkrellaclock/Manifest b/x11-plugins/gkrellaclock/Manifest
index ec2cad3c8227..31237a0d57e7 100644
--- a/x11-plugins/gkrellaclock/Manifest
+++ b/x11-plugins/gkrellaclock/Manifest
@@ -1,4 +1,4 @@
AUX gkrellaclock-makefile.patch 1599 BLAKE2B 611169960bfb154dc602fd3a35a4bdaec7cf6c8b078045872be05e8e49b52ff9058234f071fee256ba58f65a7fbc2da659d549df8cc3ddab6e601ca8254b0cae SHA512 7fa38a69f262f64dc8eca09179b56804ef3be20f52fef78b21cd001f34ecfff1c78c2e691da8441899e4f4e3a9d2d51418a02dde24cd144e64772026058872df
DIST gkrellaclock-0.3.4.tar.gz 18853 BLAKE2B b91b4cb9ae42f68d3a3d430f7713170c788515280330a1f785f11d4335e859dbd6f840fb7e47fe8f77676bb55e97dda628fa79d442d4be8a37c69bcea836aa52 SHA512 2e6002bc4d535899cc8b86377d596bcee5e64d05fe4239eaab2de8e387a40b8dee600d9fcd5f30feb68bb3e54bf6b4745d4c7b79ea9fee57b856eeb3dac12524
-EBUILD gkrellaclock-0.3.4-r1.ebuild 707 BLAKE2B f69436f92135b9c7c60c83c8ce7ae18f82e180c7b6b2117024e89c49cbd83be4eab3237203fd02856dd9ec9c8db3a29441b637fe6f24102680ad0d7fee251fab SHA512 9a85a8323ee81d683729b6865cec139469a403490e774b15daee922c1f7ceb0590700edffd4939639877bd68e6aa8c6e5cb2e784cf9b792afcbd4fcf11ffd751
+EBUILD gkrellaclock-0.3.4-r1.ebuild 737 BLAKE2B 4713c424a1af55bc9f6413766d8a21bedbd03c6534e6c6c83a6cc297f42c82f1b70cef78c1b5efcdb9ac19e78ce6fd1bac9c99b0dbb719e4c4396a0918f45624 SHA512 1d0d33b79ee067825adbcc2bede2b639cfe9d4c644a443a61d4130e63c7f2a44f4b969976173e75893febab02c19c5e8a8f53c0a3d64ce8f3c399f812be083da
MISC metadata.xml 166 BLAKE2B c254f1fb642881aba57637be14fb0a89b10384f91a128feaec3a8c870d76efc2cbacb92caccc0dee2dd19a5ac5eaf8643080dafa05c4e2ac96a68568927e5afd SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84
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)"
}