summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Ahlberg <aliz@gentoo.org>2004-01-04 18:37:02 +0000
committerDaniel Ahlberg <aliz@gentoo.org>2004-01-04 18:37:02 +0000
commit905104477894dc17ff4df7f9d24c59ed70b27694 (patch)
tree96c4672d87fb60a0835a130d60079ebd85dca52d /x11-plugins/wmfishtime/wmfishtime-1.23-r2.ebuild
parentVarious epatch sed and cosmetic changes (diff)
downloadgentoo-2-905104477894dc17ff4df7f9d24c59ed70b27694.tar.gz
gentoo-2-905104477894dc17ff4df7f9d24c59ed70b27694.tar.bz2
gentoo-2-905104477894dc17ff4df7f9d24c59ed70b27694.zip
Various epatch sed and cosmetic changes
Diffstat (limited to 'x11-plugins/wmfishtime/wmfishtime-1.23-r2.ebuild')
-rw-r--r--x11-plugins/wmfishtime/wmfishtime-1.23-r2.ebuild9
1 files changed, 6 insertions, 3 deletions
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
}