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 | 8db58db8430af33950961f337993931bd93bc9f6 (patch) | |
tree | 5c2bda8007537a2e92cf2ca56dca39a87dcce1d6 /x11-plugins/wmcube/wmcube-0.98.ebuild | |
parent | Honour Gentoo LDFLAGS. Closes bug #337919. (diff) | |
download | historical-8db58db8430af33950961f337993931bd93bc9f6.tar.gz historical-8db58db8430af33950961f337993931bd93bc9f6.tar.bz2 historical-8db58db8430af33950961f337993931bd93bc9f6.zip |
Honour Gentoo LDFLAGS, see bug #337893.
Package-Manager: portage-2.1.8.3/cvs/Linux i686
Diffstat (limited to 'x11-plugins/wmcube/wmcube-0.98.ebuild')
-rw-r--r-- | x11-plugins/wmcube/wmcube-0.98.ebuild | 15 |
1 files changed, 10 insertions, 5 deletions
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() { |