From 905104477894dc17ff4df7f9d24c59ed70b27694 Mon Sep 17 00:00:00 2001 From: Daniel Ahlberg Date: Sun, 4 Jan 2004 18:37:02 +0000 Subject: Various epatch sed and cosmetic changes --- x11-plugins/wmfishtime/wmfishtime-1.23-r2.ebuild | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'x11-plugins/wmfishtime/wmfishtime-1.23-r2.ebuild') diff --git a/x11-plugins/wmfishtime/wmfishtime-1.23-r2.ebuild b/x11-plugins/wmfishtime/wmfishtime-1.23-r2.ebuild index a929794f21f0..897c3b8c4931 100644 --- a/x11-plugins/wmfishtime/wmfishtime-1.23-r2.ebuild +++ b/x11-plugins/wmfishtime/wmfishtime-1.23-r2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmfishtime/wmfishtime-1.23-r2.ebuild,v 1.5 2003/10/16 16:10:23 drobbins Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmfishtime/wmfishtime-1.23-r2.ebuild,v 1.6 2004/01/04 18:36:48 aliz Exp $ # to make this work in KDE, run it with the -b option :) S=${WORKDIR}/${P} @@ -14,9 +14,12 @@ KEYWORDS="x86 sparc amd64" DEPEND="=x11-libs/gtk+-1.2*" +src_unpack() { + unpack ${A} ; cd ${S} + sed -i -e "s/CFLAGS = -O3/CFLAGS = ${CFLAGS}/" Makefile +} + src_compile() { - sed -e "s/CFLAGS = -O3/CFLAGS = ${CFLAGS}/" Makefile | cat > Makefile.tmp - mv Makefile.tmp Makefile make || die } -- cgit v1.2.3-65-gdbad