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/wmgtemp/wmgtemp-0.7.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/wmgtemp/wmgtemp-0.7.ebuild')
-rw-r--r--x11-plugins/wmgtemp/wmgtemp-0.7.ebuild13
1 files changed, 6 insertions, 7 deletions
diff --git a/x11-plugins/wmgtemp/wmgtemp-0.7.ebuild b/x11-plugins/wmgtemp/wmgtemp-0.7.ebuild
index 16bd87d9bbc3..f90113fb6d96 100644
--- a/x11-plugins/wmgtemp/wmgtemp-0.7.ebuild
+++ b/x11-plugins/wmgtemp/wmgtemp-0.7.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/wmgtemp/wmgtemp-0.7.ebuild,v 1.1 2003/11/16 22:50:49 pyrania Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmgtemp/wmgtemp-0.7.ebuild,v 1.2 2004/01/04 18:36:48 aliz Exp $
IUSE=""
@@ -14,13 +14,12 @@ KEYWORDS="x86 -ppc -sparc amd64"
DEPEND="sys-apps/lm-sensors"
-src_compile() {
- # Set compile optimizations
- cd ${S}/src
- cp Makefile Makefile.orig
- sed -e "s:-Wall -g:\$(CFLAGS):" \
- Makefile.orig > Makefile
+src_unpack() {
+ unpack ${A} ; cd ${S}/src
+ sed -i -e "s:-Wall -g:\$(CFLAGS):" Makefile
+}
+src_compile() {
emake || die "parallel make failed"
}