diff options
author | Michele Noberasco <s4t4n@gentoo.org> | 2010-09-20 09:17:18 +0000 |
---|---|---|
committer | Michele Noberasco <s4t4n@gentoo.org> | 2010-09-20 09:17:18 +0000 |
commit | ec2b6b4fad5121507cd9203a53e8a4959ff9868b (patch) | |
tree | 4e2014005e6dd7afe3146541227077109e9b6e48 /x11-plugins | |
parent | Honour Gentoo LDFLAGS. Closes bug #337919. (diff) | |
download | gentoo-2-ec2b6b4fad5121507cd9203a53e8a4959ff9868b.tar.gz gentoo-2-ec2b6b4fad5121507cd9203a53e8a4959ff9868b.tar.bz2 gentoo-2-ec2b6b4fad5121507cd9203a53e8a4959ff9868b.zip |
Honour Gentoo LDFLAGS, see bug #337893.
(Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'x11-plugins')
-rw-r--r-- | x11-plugins/wmcube/ChangeLog | 7 | ||||
-rw-r--r-- | x11-plugins/wmcube/wmcube-0.98.ebuild | 15 |
2 files changed, 15 insertions, 7 deletions
diff --git a/x11-plugins/wmcube/ChangeLog b/x11-plugins/wmcube/ChangeLog index a61ff24679c0..51ad9f8fdffa 100644 --- a/x11-plugins/wmcube/ChangeLog +++ b/x11-plugins/wmcube/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for x11-plugins/wmcube -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmcube/ChangeLog,v 1.13 2007/07/22 05:14:57 dberkholz Exp $ +# Copyright 2002-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmcube/ChangeLog,v 1.14 2010/09/20 09:17:18 s4t4n Exp $ + + 20 Sep 2010; Michele Noberasco <s4t4n@gentoo.org>; wmcube-0.98.ebuild: + Honour Gentoo LDFLAGS, see bug #337893. 22 Jul 2007; Donnie Berkholz <dberkholz@gentoo.org>; wmcube-0.98.ebuild: Drop virtual/x11 references. diff --git a/x11-plugins/wmcube/wmcube-0.98.ebuild b/x11-plugins/wmcube/wmcube-0.98.ebuild index 0a4f1b1b8e56..ab6298f87350 100644 --- a/x11-plugins/wmcube/wmcube-0.98.ebuild +++ b/x11-plugins/wmcube/wmcube-0.98.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/wmcube/wmcube-0.98.ebuild,v 1.13 2007/07/22 05:14:57 dberkholz Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmcube/wmcube-0.98.ebuild,v 1.14 2010/09/20 09:17:18 s4t4n Exp $ + +EAPI=3 DESCRIPTION="a dockapp cpu monitor with spinning 3d objects" HOMEPAGE="http://kling.mine.nu/kling/wmcube.htm" @@ -20,10 +22,13 @@ DEPEND="${RDEPEND} S="${WORKDIR}/${P}/wmcube" -src_compile() { - - emake || die "parallel make failed" +src_prepare() { + #Honour Gentoo LDFLAGS, see bug #337893. + sed -e "s/-o wmcube/${LDFLAGS} -o wmcube/" -i Makefile +} +src_compile() { + emake CFLAGS="${CFLAGS}" || die "parallel make failed" } src_install() { |