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

x11-plugins/gkrellm-mailwatch: Eclass update

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 .../gkrellm-mailwatch/gkrellm-mailwatch-2.4.3-r2.ebuild | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/x11-plugins/gkrellm-mailwatch/gkrellm-mailwatch-2.4.3-r2.ebuild 
b/x11-plugins/gkrellm-mailwatch/gkrellm-mailwatch-2.4.3-r2.ebuild
index d46420e8824..2fb046fa145 100644
--- a/x11-plugins/gkrellm-mailwatch/gkrellm-mailwatch-2.4.3-r2.ebuild
+++ b/x11-plugins/gkrellm-mailwatch/gkrellm-mailwatch-2.4.3-r2.ebuild
@@ -1,23 +1,23 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
+
 inherit gkrellm-plugin toolchain-funcs
 
 DESCRIPTION="A GKrellM2 plugin that shows the status of additional mail boxes"
 SRC_URI="http://gkrellm.luon.net/files/${P}.tar.gz";
 HOMEPAGE="http://gkrellm.luon.net/mailwatch.php";
 
-SLOT="2"
 LICENSE="GPL-2"
+SLOT="2"
 KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
 IUSE=""
 
-PLUGIN_SO=mailwatch.so
-S="${WORKDIR}/${PN}"
-
-RDEPEND="app-admin/gkrellm[X]"
+RDEPEND="app-admin/gkrellm:2[X]"
+DEPEND="${RDEPEND}"
 
+S=${WORKDIR}/${PN}
 PATCHES=(
        "${FILESDIR}"/2.4.3-0001-Respect-LDFLAGS.patch
        "${FILESDIR}"/2.4.3-0002-Use-gkrellm_gkd_string_width.patch
@@ -25,7 +25,8 @@ PATCHES=(
        "${FILESDIR}"/2.4.3-0004-Do-not-force-O2-in-CFLAGS.patch
 )
 
-src_compile() {
+PLUGIN_SO=( mailwatch$(get_modname) )
+
+src_configure() {
        tc-export CC
-       default_src_compile
 }

Reply via email to