summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichele Noberasco <s4t4n@gentoo.org>2010-09-20 09:29:49 +0000
committerMichele Noberasco <s4t4n@gentoo.org>2010-09-20 09:29:49 +0000
commit9a6aae4d93450aaf5d55f0b470916dd78f114b0a (patch)
treeb207d41cc8f6d751f2e4e8c2b9ef0480adab3405 /x11-plugins/wmwave
parentcreate unversioned path for passenger/rack integration (diff)
downloadgentoo-2-9a6aae4d93450aaf5d55f0b470916dd78f114b0a.tar.gz
gentoo-2-9a6aae4d93450aaf5d55f0b470916dd78f114b0a.tar.bz2
gentoo-2-9a6aae4d93450aaf5d55f0b470916dd78f114b0a.zip
Honour Gentoo LDFLAGS. Closes bug #337845.
(Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'x11-plugins/wmwave')
-rw-r--r--x11-plugins/wmwave/ChangeLog7
-rw-r--r--x11-plugins/wmwave/wmwave-0.4.ebuild11
2 files changed, 14 insertions, 4 deletions
diff --git a/x11-plugins/wmwave/ChangeLog b/x11-plugins/wmwave/ChangeLog
index 71ddb1c91d30..70b6c83da37a 100644
--- a/x11-plugins/wmwave/ChangeLog
+++ b/x11-plugins/wmwave/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for x11-plugins/wmwave
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmwave/ChangeLog,v 1.9 2007/07/22 04:19:07 dberkholz Exp $
+# Copyright 2000-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmwave/ChangeLog,v 1.10 2010/09/20 09:29:49 s4t4n Exp $
+
+ 20 Sep 2010; Michele Noberasco <s4t4n@gentoo.org>; wmwave-0.4.ebuild:
+ Honour Gentoo LDFLAGS. Closes bug #337845.
22 Jul 2007; Donnie Berkholz <dberkholz@gentoo.org>; wmwave-0.4.ebuild:
Drop virtual/x11 references.
diff --git a/x11-plugins/wmwave/wmwave-0.4.ebuild b/x11-plugins/wmwave/wmwave-0.4.ebuild
index 54cee4168816..48396de610a5 100644
--- a/x11-plugins/wmwave/wmwave-0.4.ebuild
+++ b/x11-plugins/wmwave/wmwave-0.4.ebuild
@@ -1,6 +1,8 @@
-# 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/wmwave/wmwave-0.4.ebuild,v 1.10 2008/06/29 13:49:02 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmwave/wmwave-0.4.ebuild,v 1.11 2010/09/20 09:29:49 s4t4n Exp $
+
+EAPI=3
IUSE=""
S=${WORKDIR}/wmwave
@@ -17,6 +19,11 @@ RDEPEND="x11-libs/libX11
DEPEND="${RDEPEND}
x11-proto/xextproto"
+src_prepare() {
+ #Honour Gentoo LDFLAGS. Closes bug #337845.
+ sed -e "s/\$(FLAGS) -o wmwave/\$(LDFLAGS) -o wmwave/" -i Makefile
+}
+
src_compile() {
emake FLAGS="${CFLAGS}" || die "Compilation failed"
}