x11-plugins/gkrellm-imonc: Eclass update
authorDavid Seifert <soap@gentoo.org>
Wed, 3 Jan 2018 22:34:33 +0000 (23:34 +0100)
committerDavid Seifert <soap@gentoo.org>
Thu, 4 Jan 2018 09:15:51 +0000 (10:15 +0100)
Package-Manager: Portage-2.3.19, Repoman-2.3.6

x11-plugins/gkrellm-imonc/gkrellm-imonc-0.2-r1.ebuild

index 3ab0c71bc7011253d8d2b02ab94591b20c3f4e3b..05fffe8d8853654047d1cc544f3800bec0fdf10c 100644 (file)
@@ -1,9 +1,9 @@
-# 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
+inherit gkrellm-plugin toolchain-funcs
 
 DESCRIPTION="A GKrellM2 plugin to control a fli4l router"
 SRC_URI="mirror://sourceforge/${PN}/${PN}-src-${PV}.tar.bz2"
@@ -15,13 +15,12 @@ SLOT="0"
 KEYWORDS="~amd64 x86"
 IUSE=""
 
-COMMON_DEPEND="app-admin/gkrellm[X]"
-DEPEND+=" ${COMMON_DEPEND}"
-RDEPEND+=" ${COMMON_DEPEND}"
+RDEPEND="app-admin/gkrellm:2[X]"
+DEPEND="${RDEPEND}"
 
 S="${WORKDIR}/${PN}-src-${PV}"
 
-PATCHES=( "${FILESDIR}/${PN}-makefile.patch" )
+PATCHES=( "${FILESDIR}"/${PN}-makefile.patch )
 
 src_compile() {
        emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}"