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 /x11-plugins/wmdots/wmdots-0.2_beta.ebuild
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)
Diffstat (limited to 'x11-plugins/wmdots/wmdots-0.2_beta.ebuild')
-rw-r--r--x11-plugins/wmdots/wmdots-0.2_beta.ebuild10
1 files changed, 8 insertions, 2 deletions
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() {