summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichele Noberasco <s4t4n@gentoo.org>2010-09-13 07:54:18 +0000
committerMichele Noberasco <s4t4n@gentoo.org>2010-09-13 07:54:18 +0000
commit3c9c73e34c1ffb9eaa09bf32de37dc176263f199 (patch)
tree11d99191452d8aad7be21f933ab6f7e2160965dc
parentAdd dev-lang/javassist to RDEPEND. Closes #336952 (diff)
downloadgentoo-2-3c9c73e34c1ffb9eaa09bf32de37dc176263f199.tar.gz
gentoo-2-3c9c73e34c1ffb9eaa09bf32de37dc176263f199.tar.bz2
gentoo-2-3c9c73e34c1ffb9eaa09bf32de37dc176263f199.zip
Honour Gentoo LDFLAGS, see bug #336982.
(Portage version: 2.1.8.3/cvs/Linux i686)
-rw-r--r--x11-plugins/wmdots/ChangeLog7
-rw-r--r--x11-plugins/wmdots/wmdots-0.2_beta.ebuild10
2 files changed, 13 insertions, 4 deletions
diff --git a/x11-plugins/wmdots/ChangeLog b/x11-plugins/wmdots/ChangeLog
index 8122225835d5..fd3a2d0a494b 100644
--- a/x11-plugins/wmdots/ChangeLog
+++ b/x11-plugins/wmdots/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for x11-plugins/wmdots
-# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmdots/ChangeLog,v 1.10 2008/01/12 15:45:00 nixnut Exp $
+# Copyright 2002-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmdots/ChangeLog,v 1.11 2010/09/13 07:54:18 s4t4n Exp $
+
+ 13 Sep 2010; Michele Noberasco <s4t4n@gentoo.org> wmdots-0.2_beta.ebuild:
+ Honour Gentoo LDFLAGS, see bug #336982.
12 Jan 2008; nixnut <nixnut@gentoo.org> wmdots-0.2_beta.ebuild:
Added ~ppc wrt bug 205471
diff --git a/x11-plugins/wmdots/wmdots-0.2_beta.ebuild b/x11-plugins/wmdots/wmdots-0.2_beta.ebuild
index 784f8ec402c7..912c2b99da84 100644
--- a/x11-plugins/wmdots/wmdots-0.2_beta.ebuild
+++ b/x11-plugins/wmdots/wmdots-0.2_beta.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/wmdots/wmdots-0.2_beta.ebuild,v 1.13 2008/01/12 15:45:00 nixnut Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmdots/wmdots-0.2_beta.ebuild,v 1.14 2010/09/13 07:54:18 s4t4n Exp $
inherit eutils multilib toolchain-funcs
@@ -26,6 +26,12 @@ src_unpack() {
epatch "${FILESDIR}"/${P}-stringh.patch
sed -e "s:cc:$(tc-getCC):g" \
-e "s:-g -O2:${CFLAGS}:g" -i Makefile
+
+ #Fix compilation target
+ sed -e "s:wmifs:wmdots:" -i Makefile
+
+ #Honour Gentoo LDFLAGS, see bug #336982
+ sed -e "s:-o wmdots:\$(LDFLAGS) -o wmdots:" -i Makefile
}
src_compile() {