summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2009-01-12 22:03:01 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2009-01-12 22:03:01 +0000
commit793b9a4233d05dfbc5b0a07c9337cdb9119784e6 (patch)
tree5970ca35c7308e12aa4cdcd364b8a02c3cf83499 /app-emulation/simh/simh-3.7.0.ebuild
parentBump to 2.0.17. Translation updates. (diff)
downloadhistorical-793b9a4233d05dfbc5b0a07c9337cdb9119784e6.tar.gz
historical-793b9a4233d05dfbc5b0a07c9337cdb9119784e6.tar.bz2
historical-793b9a4233d05dfbc5b0a07c9337cdb9119784e6.zip
Fix patch to unpack and compile.
Package-Manager: portage-2.2_rc20/cvs/Linux 2.6.28-gentoo x86_64
Diffstat (limited to 'app-emulation/simh/simh-3.7.0.ebuild')
-rw-r--r--app-emulation/simh/simh-3.7.0.ebuild6
1 files changed, 2 insertions, 4 deletions
diff --git a/app-emulation/simh/simh-3.7.0.ebuild b/app-emulation/simh/simh-3.7.0.ebuild
index 22ec46d115d4..c45d92bdeb5e 100644
--- a/app-emulation/simh/simh-3.7.0.ebuild
+++ b/app-emulation/simh/simh-3.7.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/simh/simh-3.7.0.ebuild,v 1.4 2009/01/04 14:40:35 angelos Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/simh/simh-3.7.0.ebuild,v 1.5 2009/01/12 22:03:01 flameeyes Exp $
inherit eutils toolchain-funcs versionator
@@ -29,14 +29,12 @@ src_unpack() {
# convert makefile from dos format to unix format
edos2unix makefile
- sed -i -e "s:gcc:$(tc-getCC):" \
- -e "s: -g::" \
- -e "s:-O2:${CFLAGS}:" makefile
epatch "${FILESDIR}/makefile.patch" \
"${FILESDIR}"/${P}-asneeded.patch
}
src_compile() {
+ tc-export CC
emake || die "make failed"
}