summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichele Noberasco <s4t4n@gentoo.org>2010-09-20 09:17:18 +0000
committerMichele Noberasco <s4t4n@gentoo.org>2010-09-20 09:17:18 +0000
commitec2b6b4fad5121507cd9203a53e8a4959ff9868b (patch)
tree4e2014005e6dd7afe3146541227077109e9b6e48 /x11-plugins/wmcube/wmcube-0.98.ebuild
parentHonour Gentoo LDFLAGS. Closes bug #337919. (diff)
downloadgentoo-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/wmcube/wmcube-0.98.ebuild')
-rw-r--r--x11-plugins/wmcube/wmcube-0.98.ebuild15
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() {