summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Ramsay <lack@gentoo.org>2010-08-11 13:59:11 +0000
committerJim Ramsay <lack@gentoo.org>2010-08-11 13:59:11 +0000
commit7884dc5fc5345a4dc1e943d16fe8f0318074d157 (patch)
treedddada81dce17a0c151c44b0a4777247215d9531 /x11-plugins/gkrellsun
parentFix building with GLIBC 2.12 wrt #332237 by Diego E. Pettenò. (diff)
downloadhistorical-7884dc5fc5345a4dc1e943d16fe8f0318074d157.tar.gz
historical-7884dc5fc5345a4dc1e943d16fe8f0318074d157.tar.bz2
historical-7884dc5fc5345a4dc1e943d16fe8f0318074d157.zip
Respect LDFLAGS (Bug #332223)
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'x11-plugins/gkrellsun')
-rw-r--r--x11-plugins/gkrellsun/ChangeLog8
-rw-r--r--x11-plugins/gkrellsun/Manifest4
-rw-r--r--x11-plugins/gkrellsun/files/gkrellsun-1.0.0-Respect-LDFLAGS.patch13
-rw-r--r--x11-plugins/gkrellsun/gkrellsun-1.0.0-r3.ebuild29
4 files changed, 52 insertions, 2 deletions
diff --git a/x11-plugins/gkrellsun/ChangeLog b/x11-plugins/gkrellsun/ChangeLog
index 719e63727658..eddc4e7f1968 100644
--- a/x11-plugins/gkrellsun/ChangeLog
+++ b/x11-plugins/gkrellsun/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for x11-plugins/gkrellsun
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/gkrellsun/ChangeLog,v 1.28 2010/07/28 14:41:54 lack Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/gkrellsun/ChangeLog,v 1.29 2010/08/11 13:59:11 lack Exp $
+
+*gkrellsun-1.0.0-r3 (11 Aug 2010)
+
+ 11 Aug 2010; Jim Ramsay <lack@gentoo.org> +gkrellsun-1.0.0-r3.ebuild,
+ +files/gkrellsun-1.0.0-Respect-LDFLAGS.patch:
+ Respect LDFLAGS (Bug #332223)
*gkrellsun-1.0.0-r2 (28 Jul 2010)
diff --git a/x11-plugins/gkrellsun/Manifest b/x11-plugins/gkrellsun/Manifest
index 9bf46be0e7cf..e8b2ab22b93b 100644
--- a/x11-plugins/gkrellsun/Manifest
+++ b/x11-plugins/gkrellsun/Manifest
@@ -1,6 +1,8 @@
+AUX gkrellsun-1.0.0-Respect-LDFLAGS.patch 334 RMD160 08b4708e2a8baa2e62e040da34aa465c1eb2497f SHA1 1005d9d7e4ac0fa613d4ad5ef4848d7d026f76f2 SHA256 a47a1fcdf484e64ea3bf991f302b16ff2b2746d2d2f38f2419f0375f92d114c5
AUX gkrellsun-1.0.0-reenable.patch 520 RMD160 14d384fbf7ca1558ec4c473191992dec2c7e03bd SHA1 8746bddf46bd597edc58b38f56637a19b43cdfe3 SHA256 d073ca64238612357f4b7d40b0da24ecbebe87e5f6a260c7050c8abe24641447
DIST gkrellsun-1.0.0.tar.gz 96970 RMD160 603fe037e80d2e2d1ec952f235a4e27ef6e49f27 SHA1 3f5159fed83fb9dde37b6f009152d82acc273e5d SHA256 a9fbf23c69fbaec7b0395e9adf78e98af3f9e8263a01c0312faa27c287757608
EBUILD gkrellsun-1.0.0-r1.ebuild 652 RMD160 fa8304bc9ab9df5affc47303abe33e5ab556855e SHA1 7e9946e859c21c7bd972e33348ef909839541756 SHA256 f4e3d8a0c9ce836c40197d3b3fde964b8cf7f31752faf5eaaaa95b32787441f2
EBUILD gkrellsun-1.0.0-r2.ebuild 731 RMD160 c35f87e7cc2cbdf3acacf0be4700f21517673efc SHA1 643539a84ee7ff9d967bd7802cc8e8c6e0e70383 SHA256 5d5876eef52c6183ab6f69c35f3827ccaa813fe603a5250dd69d624a1e6fbb06
-MISC ChangeLog 3674 RMD160 ec24594f324117b71298adcc74e63171daa0bb8e SHA1 ad1e11394935c4562e51ad4e2314af23ce622be8 SHA256 66d79d85535c424153dbdd774ee8766cbe4b7fe5369b9f2c225b4a0e3037f69c
+EBUILD gkrellsun-1.0.0-r3.ebuild 780 RMD160 804ca61217aaa4f3129fbcd27ccd30944d42b2b6 SHA1 b9f46a85f4f6dc29371c180f8927332c9c2e8a3d SHA256 5a251513dbb935397e67725a8010599b2f0282d9b0fe4164adac5236af0082d3
+MISC ChangeLog 3862 RMD160 cf0353cfbdb2c72a3b8a06112e425bc1ce7a79b7 SHA1 420123ed9734205f40a572ce15bdc4c502128c27 SHA256 77eb41497e8bfe0253810ee89afabd30c1f7a4eb4b6e52919f00ef7afeb8bda3
MISC metadata.xml 254 RMD160 415926d9875e8fe9b0d03e74435ad2521fac159c SHA1 172a4c3880766b1bb7e75f4f2b4ed0b62c1d2d6c SHA256 dafc7e6c5cb681b9d6ecbe2ff4280bb987d3533c30bb334b4845faee02aa7279
diff --git a/x11-plugins/gkrellsun/files/gkrellsun-1.0.0-Respect-LDFLAGS.patch b/x11-plugins/gkrellsun/files/gkrellsun-1.0.0-Respect-LDFLAGS.patch
new file mode 100644
index 000000000000..548039dd0e0b
--- /dev/null
+++ b/x11-plugins/gkrellsun/files/gkrellsun-1.0.0-Respect-LDFLAGS.patch
@@ -0,0 +1,13 @@
+diff --git a/src20/Makefile b/src20/Makefile
+index 3e8e62c..ef96fa2 100644
+--- a/src20/Makefile
++++ b/src20/Makefile
+@@ -16,6 +16,8 @@ FLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE)
+ LIBS = $(GTK_LIB)
+ LFLAGS = -shared
+
++LFLAGS += $(LDFLAGS)
++
+ ifeq ($(enable_nls),1)
+ FLAGS += -DENABLE_NLS -DLOCALEDIR=\"$(LOCALEDIR)\"
+ export enable_nls
diff --git a/x11-plugins/gkrellsun/gkrellsun-1.0.0-r3.ebuild b/x11-plugins/gkrellsun/gkrellsun-1.0.0-r3.ebuild
new file mode 100644
index 000000000000..5abaa34ea028
--- /dev/null
+++ b/x11-plugins/gkrellsun/gkrellsun-1.0.0-r3.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/gkrellsun/gkrellsun-1.0.0-r3.ebuild,v 1.1 2010/08/11 13:59:11 lack Exp $
+
+EAPI="3"
+inherit gkrellm-plugin eutils
+
+IUSE="nls"
+DESCRIPTION="A GKrellM plugin that shows sunrise and sunset times."
+HOMEPAGE="http://gkrellsun.sourceforge.net/"
+SRC_URI="mirror://sourceforge/gkrellsun/${P}.tar.gz"
+
+SLOT="1"
+LICENSE="GPL-2"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86"
+
+DEPEND="nls? ( sys-devel/gettext )"
+
+PLUGIN_SO=src20/gkrellsun.so
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-reenable.patch"
+ epatch "${FILESDIR}/${P}-Respect-LDFLAGS.patch"
+}
+
+src_compile() {
+ use nls && myconf="$myconf enable_nls=1"
+ emake ${myconf}
+}