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
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')
-rw-r--r--sys-boot/yaboot/ChangeLog5
-rw-r--r--sys-boot/yaboot/yaboot-1.3.14-r2.ebuild6
2 files changed, 6 insertions, 5 deletions
diff --git a/sys-boot/yaboot/ChangeLog b/sys-boot/yaboot/ChangeLog
index fe1f10bfb766..37cf08269c71 100644
--- a/sys-boot/yaboot/ChangeLog
+++ b/sys-boot/yaboot/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-boot/yaboot
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-boot/yaboot/ChangeLog,v 1.48 2015/05/17 04:18:20 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-boot/yaboot/ChangeLog,v 1.49 2015/05/17 04:20:56 vapier Exp $
+
+ 17 May 2015; Mike Frysinger <vapier@gentoo.org> yaboot-1.3.14-r2.ebuild:
+ Use `sed -i` like we do in newer versions.
17 May 2015; Mike Frysinger <vapier@gentoo.org> yaboot-1.3.14-r2.ebuild,
yaboot-1.3.16.ebuild, yaboot-1.3.17-r2.ebuild:
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
}