diff options
author | Michele Noberasco <s4t4n@gentoo.org> | 2010-09-03 08:24:28 +0000 |
---|---|---|
committer | Michele Noberasco <s4t4n@gentoo.org> | 2010-09-03 08:24:28 +0000 |
commit | 9ff2d69d50349db7878ed9a58a7aa57b1849918d (patch) | |
tree | de7a3bb9489713325e16b9c988e1c5a22eac2173 /x11-plugins/wmswallow/wmswallow-0.6.1.ebuild | |
parent | Unmask sys-libs/readline-6 and above for FreeBSD (diff) | |
download | gentoo-2-9ff2d69d50349db7878ed9a58a7aa57b1849918d.tar.gz gentoo-2-9ff2d69d50349db7878ed9a58a7aa57b1849918d.tar.bz2 gentoo-2-9ff2d69d50349db7878ed9a58a7aa57b1849918d.zip |
Honour Gentoo LDFLAGS. Closes bug #335692.
Honour Gentoo CFLAGS.
(Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'x11-plugins/wmswallow/wmswallow-0.6.1.ebuild')
-rw-r--r-- | x11-plugins/wmswallow/wmswallow-0.6.1.ebuild | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/x11-plugins/wmswallow/wmswallow-0.6.1.ebuild b/x11-plugins/wmswallow/wmswallow-0.6.1.ebuild index 58e389b042fd..264d4836064d 100644 --- a/x11-plugins/wmswallow/wmswallow-0.6.1.ebuild +++ b/x11-plugins/wmswallow/wmswallow-0.6.1.ebuild @@ -1,7 +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/wmswallow/wmswallow-0.6.1.ebuild,v 1.9 2007/07/22 04:27:36 dberkholz Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmswallow/wmswallow-0.6.1.ebuild,v 1.10 2010/09/03 08:24:28 s4t4n Exp $ +EAPI=2 IUSE="" DESCRIPTION="A dock applet to make any application dockable." @@ -20,8 +21,12 @@ DEPEND="${RDEPEND} S=${WORKDIR}/wmswallow +src_prepare() { + sed -i "s:\${OBJS} -o:\${OBJS} \${LDFLAGS} -o:" Makefile +} + src_compile() { - make xfree || die + make CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" xfree || die } src_install() { |