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/wmcalc-0.4.ebuild
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/wmcalc-0.4.ebuild')
-rw-r--r--x11-plugins/wmcalc/wmcalc-0.4.ebuild7
1 files changed, 5 insertions, 2 deletions
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() {