diff options
author | Michele Noberasco <s4t4n@gentoo.org> | 2010-09-16 08:58:47 +0000 |
---|---|---|
committer | Michele Noberasco <s4t4n@gentoo.org> | 2010-09-16 08:58:47 +0000 |
commit | 66f147370c42d64d1ef02b47653fc75456ad2d33 (patch) | |
tree | 45e0ea1caab614ae87ce54ff4b4330fd70f01f67 /x11-plugins | |
parent | fixed econf double-run and autotools mainainter-mode, added pkgconfig to deps... (diff) | |
download | gentoo-2-66f147370c42d64d1ef02b47653fc75456ad2d33.tar.gz gentoo-2-66f147370c42d64d1ef02b47653fc75456ad2d33.tar.bz2 gentoo-2-66f147370c42d64d1ef02b47653fc75456ad2d33.zip |
Honour Gentoo LDFLAGS, see bug #337523.
(Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'x11-plugins')
-rw-r--r-- | x11-plugins/wmcpu/ChangeLog | 7 | ||||
-rw-r--r-- | x11-plugins/wmcpu/wmcpu-1.4.ebuild | 12 |
2 files changed, 15 insertions, 4 deletions
diff --git a/x11-plugins/wmcpu/ChangeLog b/x11-plugins/wmcpu/ChangeLog index 4f1e55cf9342..1afbf28cbc50 100644 --- a/x11-plugins/wmcpu/ChangeLog +++ b/x11-plugins/wmcpu/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for x11-plugins/wmcpu -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmcpu/ChangeLog,v 1.3 2007/07/22 05:04:01 dberkholz Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmcpu/ChangeLog,v 1.4 2010/09/16 08:58:47 s4t4n Exp $ + + 16 Sep 2010; Michele Noberasco <s4t4n@gentoo.org>; wmcpu-1.4.ebuild: + Honour Gentoo LDFLAGS, see bug #337523. 22 Jul 2007; Donnie Berkholz <dberkholz@gentoo.org>; wmcpu-1.4.ebuild: Drop virtual/x11 references. diff --git a/x11-plugins/wmcpu/wmcpu-1.4.ebuild b/x11-plugins/wmcpu/wmcpu-1.4.ebuild index 65023dbb228d..1ed4dd7b2acf 100644 --- a/x11-plugins/wmcpu/wmcpu-1.4.ebuild +++ b/x11-plugins/wmcpu/wmcpu-1.4.ebuild @@ -1,6 +1,8 @@ -# Copyright 1999-2007 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/wmcpu/wmcpu-1.4.ebuild,v 1.3 2007/07/22 05:04:01 dberkholz Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmcpu/wmcpu-1.4.ebuild,v 1.4 2010/09/16 08:58:47 s4t4n Exp $ + +EAPI="3" inherit flag-o-matic @@ -21,6 +23,12 @@ DEPEND="x11-libs/libX11 RDEPEND="${RDEPEND} x11-proto/xextproto" +src_prepare() { + #Honour Gentoo LDFLAGS, see bug #337523 + sed -e 's/LDFLAGS/LIBS/g' -i Makefile + sed -e 's/\$(CFLAGS)/\$(LDFLAGS)/' -i Makefile +} + src_compile() { # We then add the default -Wall from Makefile to CFLAGS emake CFLAGS="${CFLAGS} -Wall" || die "emake failed" |