summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichele Noberasco <s4t4n@gentoo.org>2010-09-06 10:00:45 +0000
committerMichele Noberasco <s4t4n@gentoo.org>2010-09-06 10:00:45 +0000
commitb2589214064d50cd44be95b560beba72a95a9bef (patch)
tree2877ab859ebce5ddb3fc844620898d5f4618c386 /x11-plugins/wmium
parentHonour Gentoo LDFLAGS. Closes bug #335216. (diff)
downloadgentoo-2-b2589214064d50cd44be95b560beba72a95a9bef.tar.gz
gentoo-2-b2589214064d50cd44be95b560beba72a95a9bef.tar.bz2
gentoo-2-b2589214064d50cd44be95b560beba72a95a9bef.zip
Honour Gentoo LDFLAGS, bug #334003
(Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'x11-plugins/wmium')
-rw-r--r--x11-plugins/wmium/ChangeLog7
-rw-r--r--x11-plugins/wmium/wmium-1.0.9b-r1.ebuild12
2 files changed, 15 insertions, 4 deletions
diff --git a/x11-plugins/wmium/ChangeLog b/x11-plugins/wmium/ChangeLog
index 73d7de07458e..c42f4834c5b6 100644
--- a/x11-plugins/wmium/ChangeLog
+++ b/x11-plugins/wmium/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for x11-plugins/wmium
-# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmium/ChangeLog,v 1.20 2008/06/28 07:04:21 maekke Exp $
+# Copyright 2000-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmium/ChangeLog,v 1.21 2010/09/06 10:00:45 s4t4n Exp $
+
+ 06 Sep 2010; Michele Noberasco <s4t4n@gentoo.org> wmium-1.0.9b-r1.ebuild:
+ Honour Gentoo LDFLAGS, bug #334003.
28 Jun 2008; Markus Meier <maekke@gentoo.org> wmium-1.0.9b-r1.ebuild:
x86 stable, bug #229573
diff --git a/x11-plugins/wmium/wmium-1.0.9b-r1.ebuild b/x11-plugins/wmium/wmium-1.0.9b-r1.ebuild
index 81e94cdfc3c6..a5c9ad01b981 100644
--- a/x11-plugins/wmium/wmium-1.0.9b-r1.ebuild
+++ b/x11-plugins/wmium/wmium-1.0.9b-r1.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmium/wmium-1.0.9b-r1.ebuild,v 1.6 2008/06/29 13:41:28 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmium/wmium-1.0.9b-r1.ebuild,v 1.7 2010/09/06 10:00:45 s4t4n Exp $
+
+EAPI=2
DESCRIPTION="a dockapp and gkrellm2 plugin that fetches the DSL usage information for Australian ISP Internode"
HOMEPAGE="http://www.earthmagic.org/?software"
@@ -24,6 +26,12 @@ DEPEND="${RDEPEND}
gtk? ( dev-util/pkgconfig )
>=x11-proto/xextproto-7.0.2"
+src_prepare() {
+ #Honour Gentoo LDFLAGS, bug #334003
+ sed -ie "s/\$(CXXFLAGS) -o/\$(CXXFLAGS) \$(LDFLAGS) -o/" src/Makefile
+ sed -ie "s/-shared -o/-shared \$(LDFLAGS) -o/" src-gk2/Makefile
+}
+
src_compile() {
emake build || die
if use gtk; then