diff options
author | Michele Noberasco <s4t4n@gentoo.org> | 2010-09-06 07:59:28 +0000 |
---|---|---|
committer | Michele Noberasco <s4t4n@gentoo.org> | 2010-09-06 07:59:28 +0000 |
commit | b52a871c243fe5d9998f9e6da2932b3f405c0776 (patch) | |
tree | 43272dab83d14889013154be56e4654972ea7384 /x11-plugins/wmtop/wmtop-0.9.0.ebuild | |
parent | Reworked Makefile patch, simplified ebuild. Closes bug #336091. (diff) | |
download | gentoo-2-b52a871c243fe5d9998f9e6da2932b3f405c0776.tar.gz gentoo-2-b52a871c243fe5d9998f9e6da2932b3f405c0776.tar.bz2 gentoo-2-b52a871c243fe5d9998f9e6da2932b3f405c0776.zip |
Honour Gentoo LDFLAGS. Closes bug #335953.
(Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'x11-plugins/wmtop/wmtop-0.9.0.ebuild')
-rw-r--r-- | x11-plugins/wmtop/wmtop-0.9.0.ebuild | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/x11-plugins/wmtop/wmtop-0.9.0.ebuild b/x11-plugins/wmtop/wmtop-0.9.0.ebuild index e6c61fb79cf3..92992e604589 100644 --- a/x11-plugins/wmtop/wmtop-0.9.0.ebuild +++ b/x11-plugins/wmtop/wmtop-0.9.0.ebuild @@ -1,7 +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/wmtop/wmtop-0.9.0.ebuild,v 1.4 2008/11/26 00:05:59 tcunha Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmtop/wmtop-0.9.0.ebuild,v 1.5 2010/09/06 07:59:28 s4t4n Exp $ +EAPI=2 inherit multilib toolchain-funcs DESCRIPTION="dockapp for monitoring the top three processes using cpu or memory." @@ -20,6 +21,10 @@ DEPEND="${RDEPEND} x11-proto/xproto x11-proto/xextproto" +src_prepare() { + sed -ie "s/\$(FLAGS) -o wmtop/\$(DEBUG) \$(LDFLAGS) -D\$(OS) -o wmtop/" Makefile +} + src_compile() { emake CC="$(tc-getCC)" OPTS="${CFLAGS}" \ LIBDIR="-L/usr/$(get_libdir)" \ |