summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichele Noberasco <s4t4n@gentoo.org>2010-09-15 10:11:04 +0000
committerMichele Noberasco <s4t4n@gentoo.org>2010-09-15 10:11:04 +0000
commit00af74facf0c3de39a222ec1a3a84f6f08ddf45d (patch)
tree31ae9c53aaf4da6089d933b4173909a3ebbd2cb9 /x11-plugins/wmcalc
parenthardened-sources-2.6.32-r17 based on 2.6.32.21 + genpatches + grsec-2.2.0-2.6... (diff)
downloadgentoo-2-00af74facf0c3de39a222ec1a3a84f6f08ddf45d.tar.gz
gentoo-2-00af74facf0c3de39a222ec1a3a84f6f08ddf45d.tar.bz2
gentoo-2-00af74facf0c3de39a222ec1a3a84f6f08ddf45d.zip
Honour Gentoo LDFLAGS, see bug #337434.
(Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'x11-plugins/wmcalc')
-rw-r--r--x11-plugins/wmcalc/ChangeLog7
-rw-r--r--x11-plugins/wmcalc/wmcalc-0.4.ebuild7
2 files changed, 10 insertions, 4 deletions
diff --git a/x11-plugins/wmcalc/ChangeLog b/x11-plugins/wmcalc/ChangeLog
index 562d638eb30e..11666f5d4a62 100644
--- a/x11-plugins/wmcalc/ChangeLog
+++ b/x11-plugins/wmcalc/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for x11-plugins/wmcalc
-# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmcalc/ChangeLog,v 1.19 2008/11/25 23:45:54 tcunha Exp $
+# Copyright 2002-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmcalc/ChangeLog,v 1.20 2010/09/15 10:11:04 s4t4n Exp $
+
+ 15 Sep 2010; Michele Noberasco <s4t4n@gentoo.org> wmcalc-0.4.ebuild:
+ Honour Gentoo LDFLAGS, see bug #337434.
25 Nov 2008; Tiago Cunha <tcunha@gentoo.org> wmcalc-0.4.ebuild:
stable sparc, bug 215651
diff --git a/x11-plugins/wmcalc/wmcalc-0.4.ebuild b/x11-plugins/wmcalc/wmcalc-0.4.ebuild
index 10baaf0ec960..d842c5294161 100644
--- a/x11-plugins/wmcalc/wmcalc-0.4.ebuild
+++ b/x11-plugins/wmcalc/wmcalc-0.4.ebuild
@@ -1,6 +1,6 @@
-# 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/wmcalc/wmcalc-0.4.ebuild,v 1.13 2008/11/25 23:45:54 tcunha Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmcalc/wmcalc-0.4.ebuild,v 1.14 2010/09/15 10:11:04 s4t4n Exp $
inherit multilib toolchain-funcs
@@ -25,6 +25,9 @@ src_unpack() {
cd "${S}"
sed -e "s:gcc:$(tc-getCC):g" \
-e "s:-O2:${CFLAGS}:g" -i Makefile
+
+ #Honour Gentoo LDFLAGS, see bug #337434
+ sed -e "s:-o \${TARGET}:\$(LDFLAGS) -o \${TARGET}:" -i Makefile
}
src_compile() {