summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichele Noberasco <s4t4n@gentoo.org>2010-08-30 15:52:58 +0000
committerMichele Noberasco <s4t4n@gentoo.org>2010-08-30 15:52:58 +0000
commitfdffffe41065d0971d31ee041b0a2d68892482f2 (patch)
tree2a4b00812568b88ba2cde521ef009a45186e36d2 /x11-plugins/wmmon+smp
parentfix libimobiledevice dependency, it's also a RDEPEND (diff)
downloadgentoo-2-fdffffe41065d0971d31ee041b0a2d68892482f2.tar.gz
gentoo-2-fdffffe41065d0971d31ee041b0a2d68892482f2.tar.bz2
gentoo-2-fdffffe41065d0971d31ee041b0a2d68892482f2.zip
Respect LDFLAGS, see bug #335047
(Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'x11-plugins/wmmon+smp')
-rw-r--r--x11-plugins/wmmon+smp/ChangeLog5
-rw-r--r--x11-plugins/wmmon+smp/wmmon+smp-1.0-r1.ebuild11
2 files changed, 14 insertions, 2 deletions
diff --git a/x11-plugins/wmmon+smp/ChangeLog b/x11-plugins/wmmon+smp/ChangeLog
index e96e6bc2f171..3cf912d225de 100644
--- a/x11-plugins/wmmon+smp/ChangeLog
+++ b/x11-plugins/wmmon+smp/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for x11-plugins/wmmon+smp
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmmon+smp/ChangeLog,v 1.10 2007/07/22 04:49:01 dberkholz Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmmon+smp/ChangeLog,v 1.11 2010/08/30 15:52:58 s4t4n Exp $
+
+ 30 Aug 2010; Michele Noberasco <s4t4n@gentoo.org>; wmmon+smp-1.0-r1.ebuild:
+ Respect LDFLAGS, see bug #335047.
22 Jul 2007; Donnie Berkholz <dberkholz@gentoo.org>;
wmmon+smp-1.0-r1.ebuild:
diff --git a/x11-plugins/wmmon+smp/wmmon+smp-1.0-r1.ebuild b/x11-plugins/wmmon+smp/wmmon+smp-1.0-r1.ebuild
index e0326042196a..71c857b621e7 100644
--- a/x11-plugins/wmmon+smp/wmmon+smp-1.0-r1.ebuild
+++ b/x11-plugins/wmmon+smp/wmmon+smp-1.0-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmmon+smp/wmmon+smp-1.0-r1.ebuild,v 1.12 2010/07/22 14:33:25 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmmon+smp/wmmon+smp-1.0-r1.ebuild,v 1.13 2010/08/30 15:52:58 s4t4n Exp $
IUSE=""
@@ -20,6 +20,15 @@ RDEPEND="x11-libs/libX11
DEPEND="${RDEPEND}
x11-proto/xextproto"
+src_unpack()
+{
+ unpack ${A}
+ cd "${S}"
+
+ # Respect LDFLAGS, see bug #335047
+ sed -i 's/cc -o/${CC} ${LDFLAGS} -o/' "${S2}/Makefile"
+}
+
src_compile() {
cd "${S2}"
emake || die