From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 69771138330 for ; Thu, 25 Aug 2016 12:54:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D4A69E0AB3; Thu, 25 Aug 2016 12:54:07 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1944CE0AB3 for ; Thu, 25 Aug 2016 12:54:07 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 323FD340988 for ; Thu, 25 Aug 2016 12:54:06 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 576322460 for ; Thu, 25 Aug 2016 12:54:04 +0000 (UTC) From: "Pacho Ramos" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Pacho Ramos" Message-ID: <1472129629.81b74aa034caf8df7c29bd03cbee1fb07b87b10f.pacho@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-plugins/gkrellm-trayicons/, x11-plugins/gkrellm-trayicons/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-plugins/gkrellm-trayicons/files/gkrellm-trayicons-1.03-ldflags.patch x11-plugins/gkrellm-trayicons/gkrellm-trayicons-1.03.ebuild X-VCS-Directories: x11-plugins/gkrellm-trayicons/ x11-plugins/gkrellm-trayicons/files/ X-VCS-Committer: pacho X-VCS-Committer-Name: Pacho Ramos X-VCS-Revision: 81b74aa034caf8df7c29bd03cbee1fb07b87b10f X-VCS-Branch: master Date: Thu, 25 Aug 2016 12:54:04 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 8ed5fdee-2925-4167-a6ea-b2a3e2c8b99a X-Archives-Hash: ac92eda49378433091352e64c32efa58 commit: 81b74aa034caf8df7c29bd03cbee1fb07b87b10f Author: Pacho Ramos gentoo org> AuthorDate: Thu Aug 25 12:33:41 2016 +0000 Commit: Pacho Ramos gentoo org> CommitDate: Thu Aug 25 12:53:49 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81b74aa0 x11-plugins/gkrellm-trayicons: Respect LDFLAGS (#338784 by Michael Mair-Keimberger (iamnr3)) Package-Manager: portage-2.3.0 .../files/gkrellm-trayicons-1.03-ldflags.patch | 25 ++++++++++++++++++++++ .../gkrellm-trayicons-1.03.ebuild | 15 +++++++++---- 2 files changed, 36 insertions(+), 4 deletions(-) diff --git a/x11-plugins/gkrellm-trayicons/files/gkrellm-trayicons-1.03-ldflags.patch b/x11-plugins/gkrellm-trayicons/files/gkrellm-trayicons-1.03-ldflags.patch new file mode 100644 index 00000000..92764a9 --- /dev/null +++ b/x11-plugins/gkrellm-trayicons/files/gkrellm-trayicons-1.03-ldflags.patch @@ -0,0 +1,25 @@ +--- a/Makefile 2003-11-26 00:27:29.000000000 +0100 ++++ b/Makefile_new 2013-03-15 21:36:05.331857288 +0100 +@@ -6,19 +6,18 @@ + GKRELLM_INCLUDE = -I$(PREFIX)/include + GTK_CFLAGS = `$(GTK_CONFIG) --cflags` + GTK_LIB = `$(GTK_CONFIG) --libs` +-FLAGS = -Wall -fPIC $(GTK_CFLAGS) $(GKRELLM_INCLUDE) +-CFLAGS ?= -O -g ++FLAGS = -fPIC $(GTK_CFLAGS) $(GKRELLM_INCLUDE) + CFLAGS += $(FLAGS) + CFLAGS += -DVERSION=\"$(VERSION)\" + LIBS = $(GTK_LIB) + LFLAGS = -shared +-CC ?= gcc ++CC = $(CC) + INSTALL = install -c + INSTALL_PROGRAM = $(INSTALL) -s + OBJS = trayicons.o + + trayicons.so: $(OBJS) +- $(CC) $(FLAGS) $(OBJS) -o trayicons.so $(LIBS) $(LFLAGS) ++ $(CC) $(FLAGS) $(LDFLAGS) $(OBJS) -o trayicons.so $(LIBS) $(LFLAGS) + + clean: + rm -f *.o core *.so* *.bak *~ diff --git a/x11-plugins/gkrellm-trayicons/gkrellm-trayicons-1.03.ebuild b/x11-plugins/gkrellm-trayicons/gkrellm-trayicons-1.03.ebuild index 16dd066..2d1437b 100644 --- a/x11-plugins/gkrellm-trayicons/gkrellm-trayicons-1.03.ebuild +++ b/x11-plugins/gkrellm-trayicons/gkrellm-trayicons-1.03.ebuild @@ -1,16 +1,23 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ -inherit gkrellm-plugin +EAPI=6 +inherit gkrellm-plugin toolchain-funcs DESCRIPTION="Configurable Tray Icons for GKrellM" -HOMEPAGE="http://tripie.sweb.cz/gkrellm/trayicons/" -SRC_URI="http://tripie.sweb.cz/gkrellm/trayicons/dist/${P}.tar.gz" +HOMEPAGE="http://gkrellm.srcbox.net/Plugins.html" +SRC_URI="mirror://gentoo/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ppc sparc x86" IUSE="" +PATCHES=( "${FILESDIR}"/${P}-ldflags.patch ) + PLUGIN_SO=trayicons.so + +src_compile() { + emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}" +}