diff options
author | Michele Noberasco <s4t4n@gentoo.org> | 2010-08-31 14:27:34 +0000 |
---|---|---|
committer | Michele Noberasco <s4t4n@gentoo.org> | 2010-08-31 14:27:34 +0000 |
commit | da47f4be0629f6486dec33f921ba6ae0466be9b0 (patch) | |
tree | 963a78b1dc2248c46e3be08a97e9862befecd21e /x11-plugins/wmtimer/wmtimer-2.92.ebuild | |
parent | griffon26 is retiring, reassign to maintainer-needed. (diff) | |
download | gentoo-2-da47f4be0629f6486dec33f921ba6ae0466be9b0.tar.gz gentoo-2-da47f4be0629f6486dec33f921ba6ae0466be9b0.tar.bz2 gentoo-2-da47f4be0629f6486dec33f921ba6ae0466be9b0.zip |
Reworked magic SEDs to honour Gentoo LDFLAGS.
(Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'x11-plugins/wmtimer/wmtimer-2.92.ebuild')
-rw-r--r-- | x11-plugins/wmtimer/wmtimer-2.92.ebuild | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/x11-plugins/wmtimer/wmtimer-2.92.ebuild b/x11-plugins/wmtimer/wmtimer-2.92.ebuild index 4efb37f0515b..129fab702763 100644 --- a/x11-plugins/wmtimer/wmtimer-2.92.ebuild +++ b/x11-plugins/wmtimer/wmtimer-2.92.ebuild @@ -1,6 +1,6 @@ -# 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/wmtimer/wmtimer-2.92.ebuild,v 1.2 2008/01/13 02:40:01 drac Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmtimer/wmtimer-2.92.ebuild,v 1.3 2010/08/31 14:27:34 s4t4n Exp $ inherit multilib toolchain-funcs @@ -25,7 +25,10 @@ S=${WORKDIR}/${P}/${PN} src_unpack() { unpack ${A} cd "${S}" - sed -e "s:-O2::" -e "s:-g:${CFLAGS}:g" -i Makefile + sed -e "s:\$(CFLAGS)::" -i Makefile + sed -e "s:-g::g" -i Makefile + sed -e "s:-O2:\$(CFLAGS) ${CFLAGS}:" -i Makefile + sed -e "s:-o wmtimer:\$(LDFLAGS) -o wmtimer:" -i Makefile } src_compile() { |