diff options
author | Jim Ramsay <lack@gentoo.org> | 2010-08-11 13:16:38 +0000 |
---|---|---|
committer | Jim Ramsay <lack@gentoo.org> | 2010-08-11 13:16:38 +0000 |
commit | af032a1640e7d16a5c42ee1cf4ea79e6704c1957 (patch) | |
tree | 6d9db3917967bc008ce68ac553b2b427101165e4 /x11-plugins | |
parent | Patchfile cleanup (diff) | |
download | historical-af032a1640e7d16a5c42ee1cf4ea79e6704c1957.tar.gz historical-af032a1640e7d16a5c42ee1cf4ea79e6704c1957.tar.bz2 historical-af032a1640e7d16a5c42ee1cf4ea79e6704c1957.zip |
Add patch to respect LDFLAGS (Bug #331831)
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'x11-plugins')
-rw-r--r-- | x11-plugins/gkrellweather/ChangeLog | 10 | ||||
-rw-r--r-- | x11-plugins/gkrellweather/Manifest | 4 | ||||
-rw-r--r-- | x11-plugins/gkrellweather/files/gkrellweather-2.0.7-Respect-LDFLAGS.patch | 25 | ||||
-rw-r--r-- | x11-plugins/gkrellweather/gkrellweather-2.0.7-r1.ebuild | 38 |
4 files changed, 74 insertions, 3 deletions
diff --git a/x11-plugins/gkrellweather/ChangeLog b/x11-plugins/gkrellweather/ChangeLog index 979ca93a03e1..f125cb25dcef 100644 --- a/x11-plugins/gkrellweather/ChangeLog +++ b/x11-plugins/gkrellweather/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for x11-plugins/gkrellweather -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-plugins/gkrellweather/ChangeLog,v 1.30 2007/06/12 21:32:02 lack Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/gkrellweather/ChangeLog,v 1.31 2010/08/11 13:16:38 lack Exp $ + +*gkrellweather-2.0.7-r1 (11 Aug 2010) + + 11 Aug 2010; Jim Ramsay <lack@gentoo.org> +gkrellweather-2.0.7-r1.ebuild, + +files/gkrellweather-2.0.7-Respect-LDFLAGS.patch: + Add patch to respect LDFLAGS (Bug #331831) 12 Jun 2007; Jim Ramsay <lack@gentoo.org> -gkrellweather-2.0.6.ebuild: Old version cleanup diff --git a/x11-plugins/gkrellweather/Manifest b/x11-plugins/gkrellweather/Manifest index cd76844bc4b4..0b3851f43fca 100644 --- a/x11-plugins/gkrellweather/Manifest +++ b/x11-plugins/gkrellweather/Manifest @@ -1,4 +1,6 @@ +AUX gkrellweather-2.0.7-Respect-LDFLAGS.patch 537 RMD160 399b6ae28022d1bcba2e8ac4a85383af84fa51d1 SHA1 b6e9174bcd8d2d2d5570f32f87f0cc432aae7227 SHA256 66aa262d2154db592da67205834e04a1217ada213c06e9083eb931db017e1be6 DIST gkrellweather-2.0.7.tgz 19968 RMD160 a8f92a45ea048c194970f5615e50c4b08120efe0 SHA1 53f62999a4aff018f6943b8b56dd9e54907754c3 SHA256 ad902acd0ffb8adb1f0d838e57545d1f52a31ae33711b73d28929c2786a740ca +EBUILD gkrellweather-2.0.7-r1.ebuild 923 RMD160 e7c648b5aa4f25163541acfecbbdbbce3761c23d SHA1 a0b2420bc9bb8d1c5f28b8aef9f8ee5c52181a88 SHA256 cc0c12423d3a1841415df581df5eecf6b02b63eabd9e83739ce4544e05cc419d EBUILD gkrellweather-2.0.7.ebuild 947 RMD160 a94418e9c4b35a0ecdf6c0c2ca5d3a19b8229f47 SHA1 73ea6ec9b0c2b4e79460155da65ffba3cc98e75d SHA256 9d3ef5a714ede31bfb9178073dd0814006cfbf0e9d28dff7747c84c47e2c5a3f -MISC ChangeLog 4648 RMD160 f1dd58fd41fc856274531e9e7138db06e22ff429 SHA1 ceafaa6cf0d2e3260bfae8a6fd8f239d815cc3d5 SHA256 7590f05a1f7e8cae33366ede10b54de2c6712e0d49a9edde08678872379ac1c1 +MISC ChangeLog 4861 RMD160 f74b2f09ae656c41d5055c390c32beb0c089d6c6 SHA1 ecd346190ddad2094542495cc18720e1b4f09b2f SHA256 b44c213529d508ab3403c4f5178fcc873271ade638ceaed8c0c99147b1b84472 MISC metadata.xml 254 RMD160 415926d9875e8fe9b0d03e74435ad2521fac159c SHA1 172a4c3880766b1bb7e75f4f2b4ed0b62c1d2d6c SHA256 dafc7e6c5cb681b9d6ecbe2ff4280bb987d3533c30bb334b4845faee02aa7279 diff --git a/x11-plugins/gkrellweather/files/gkrellweather-2.0.7-Respect-LDFLAGS.patch b/x11-plugins/gkrellweather/files/gkrellweather-2.0.7-Respect-LDFLAGS.patch new file mode 100644 index 000000000000..9256cdd919c8 --- /dev/null +++ b/x11-plugins/gkrellweather/files/gkrellweather-2.0.7-Respect-LDFLAGS.patch @@ -0,0 +1,25 @@ +From 82c3a24ef34c5a5388ee9cc40126b3381fb8445a Mon Sep 17 00:00:00 2001 +From: Jim Ramsay <lack@gentoo.org> +Date: Wed, 11 Aug 2010 09:03:13 -0400 +Subject: [PATCH] Respect LDFLAGS + +--- + Makefile | 2 ++ + 1 files changed, 2 insertions(+), 0 deletions(-) + +diff --git a/Makefile b/Makefile +index d6dc404..46074ab 100644 +--- a/Makefile ++++ b/Makefile +@@ -5,6 +5,8 @@ LIBS = `pkg-config gtk+-2.0 --libs` + LFLAGS = -shared + PREFIX = /usr/local + ++LFLAGS += $(LDFLAGS) ++ + LOCALEDIR := $(PREFIX)/share/locale + + ifeq ($(enable_nls),1) +-- +1.7.2 + diff --git a/x11-plugins/gkrellweather/gkrellweather-2.0.7-r1.ebuild b/x11-plugins/gkrellweather/gkrellweather-2.0.7-r1.ebuild new file mode 100644 index 000000000000..46733d583fa4 --- /dev/null +++ b/x11-plugins/gkrellweather/gkrellweather-2.0.7-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/gkrellweather/gkrellweather-2.0.7-r1.ebuild,v 1.1 2010/08/11 13:16:38 lack Exp $ + +EAPI=3 +inherit gkrellm-plugin + +IUSE="" +DESCRIPTION="GKrellM2 Plugin that monitors a METAR station and displays weather +info" +SRC_URI="http://kmlinux.fjfi.cvut.cz/~makovick/gkrellm/${P}.tgz" +HOMEPAGE="http://kmlinux.fjfi.cvut.cz/~makovick/gkrellm/index.html" + +SLOT="2" +LICENSE="GPL-2" +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" + +RDEPEND=">=dev-lang/perl-5.6.1 + >=net-misc/wget-1.5.3" +DEPEND=">=sys-apps/sed-4.0.5" + +src_prepare() { + epatch "${FILESDIR}/${P}-Respect-LDFLAGS.patch" + sed -i \ + -e "s:/usr/share/gkrellm:/usr/bin:g" \ + gkrellweather.c || die +} + +src_compile() { + emake PREFIX=/usr || die +} + +src_install () { + gkrellm-plugin_src_install + + exeinto /usr/bin + doexe GrabWeather +} |