commit: 952d48e964343c6354a9b1fe179eb86eb7277ce9 Author: David Seifert <soap <AT> gentoo <DOT> org> AuthorDate: Wed Jan 3 22:34:32 2018 +0000 Commit: David Seifert <soap <AT> gentoo <DOT> org> CommitDate: Thu Jan 4 09:15:48 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=952d48e9
x11-plugins/gkrellweather: Eclass update Package-Manager: Portage-2.3.19, Repoman-2.3.6 .../gkrellweather/gkrellweather-2.0.8-r1.ebuild | 23 +++++++++++----------- 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/x11-plugins/gkrellweather/gkrellweather-2.0.8-r1.ebuild b/x11-plugins/gkrellweather/gkrellweather-2.0.8-r1.ebuild index 2eab8440244..5e42ff7bb2e 100644 --- a/x11-plugins/gkrellweather/gkrellweather-2.0.8-r1.ebuild +++ b/x11-plugins/gkrellweather/gkrellweather-2.0.8-r1.ebuild @@ -1,27 +1,27 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 + inherit flag-o-matic gkrellm-plugin toolchain-funcs DESCRIPTION="GKrellM2 Plugin that monitors a METAR station and displays weatherinfo" HOMEPAGE="https://sites.google.com/site/makovick/gkrellm-plugins" SRC_URI="https://sites.google.com/site/makovick/projects/${P}.tgz" -SLOT="2" LICENSE="GPL-2" +SLOT="2" KEYWORDS="~alpha amd64 ~ppc ~sparc x86" IUSE="" RDEPEND=" - app-admin/gkrellm[X] - >=dev-lang/perl-5.6.1 - >=net-misc/wget-1.5.3 -" + app-admin/gkrellm:2[X] + dev-lang/perl + net-misc/wget + x11-libs/gtk+:2" DEPEND=" - >=sys-apps/sed-4.0.5 - virtual/pkgconfig -" + ${RDEPEND} + virtual/pkgconfig" PATCHES=( "${FILESDIR}"/${P}-Respect-LDFLAGS.patch @@ -29,14 +29,13 @@ PATCHES=( "${FILESDIR}"/${P}-update-locations.patch ) -src_prepare() { - default +src_configure() { append-cflags $($(tc-getPKG_CONFIG) --cflags gtk+-2.0) append-flags -fPIC } src_compile() { - emake PREFIX=/usr CC=$(tc-getCC) CFLAGS="${CFLAGS}" + emake PREFIX="${EPREFIX}"/usr CC="$(tc-getCC)" CFLAGS="${CFLAGS}" } src_install () {