summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-05-17 04:20:56 +0000
committerMike Frysinger <vapier@gentoo.org>2015-05-17 04:20:56 +0000
commit25afdf0e36b955d3c2cf8581d72bb27c285deb3a (patch)
treec9ed44eaccf1bd4449bba8b45d92093fb3de22f0 /sys-boot/yaboot/yaboot-1.3.14-r2.ebuild
parentBlock yaboot-static at runtime since it is now keyworded for ppc. (diff)
downloadgentoo-2-25afdf0e36b955d3c2cf8581d72bb27c285deb3a.tar.gz
gentoo-2-25afdf0e36b955d3c2cf8581d72bb27c285deb3a.tar.bz2
gentoo-2-25afdf0e36b955d3c2cf8581d72bb27c285deb3a.zip
Use `sed -i` like we do in newer versions.
(Portage version: 2.2.19/cvs/Linux x86_64, signed Manifest commit with key D2E96200)
Diffstat (limited to 'sys-boot/yaboot/yaboot-1.3.14-r2.ebuild')
-rw-r--r--sys-boot/yaboot/yaboot-1.3.14-r2.ebuild6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys-boot/yaboot/yaboot-1.3.14-r2.ebuild b/sys-boot/yaboot/yaboot-1.3.14-r2.ebuild
index b24602309898..cbb35b9bf20f 100644
--- a/sys-boot/yaboot/yaboot-1.3.14-r2.ebuild
+++ b/sys-boot/yaboot/yaboot-1.3.14-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-boot/yaboot/yaboot-1.3.14-r2.ebuild,v 1.8 2015/05/17 04:18:20 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-boot/yaboot/yaboot-1.3.14-r2.ebuild,v 1.9 2015/05/17 04:20:56 vapier Exp $
inherit eutils toolchain-funcs
@@ -42,8 +42,6 @@ src_compile() {
}
src_install() {
- cp etc/yaboot.conf etc/yaboot.conf.bak
- sed -e 's/\/local//' etc/yaboot.conf >| etc/yaboot.conf.edit
- mv -f etc/yaboot.conf.edit etc/yaboot.conf
+ sed -i -e 's/\/local//' etc/yaboot.conf
make ROOT="${D}" PREFIX=/usr MANDIR=share/man install || die
}