summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Jezak <josejx@gentoo.org>2010-10-03 17:13:16 +0000
committerJoseph Jezak <josejx@gentoo.org>2010-10-03 17:13:16 +0000
commitab73296e42f33d6d51bd93aec49870377d83832b (patch)
tree0e60bda2f17ebba9d0b78baf92791d549849ef79 /sys-boot/yaboot
parentStable on amd64 wrt bug #338997 (diff)
downloadgentoo-2-ab73296e42f33d6d51bd93aec49870377d83832b.tar.gz
gentoo-2-ab73296e42f33d6d51bd93aec49870377d83832b.tar.bz2
gentoo-2-ab73296e42f33d6d51bd93aec49870377d83832b.zip
Remove old ofpath patch and move patching to unpack phase.
(Portage version: 2.1.9.13/cvs/Linux x86_64)
Diffstat (limited to 'sys-boot/yaboot')
-rw-r--r--sys-boot/yaboot/ChangeLog5
-rw-r--r--sys-boot/yaboot/yaboot-1.3.16.ebuild14
2 files changed, 11 insertions, 8 deletions
diff --git a/sys-boot/yaboot/ChangeLog b/sys-boot/yaboot/ChangeLog
index 3ee17e1d479c..36f4b18ccd33 100644
--- a/sys-boot/yaboot/ChangeLog
+++ b/sys-boot/yaboot/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-boot/yaboot
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-boot/yaboot/ChangeLog,v 1.33 2010/10/03 17:09:38 josejx Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-boot/yaboot/ChangeLog,v 1.34 2010/10/03 17:13:16 josejx Exp $
+
+ 03 Oct 2010; Joseph Jezak <josejx@gentoo.org> yaboot-1.3.16.ebuild:
+ Remove old ofpath patch and move patching to unpack phase.
*yaboot-1.3.16 (03 Oct 2010)
diff --git a/sys-boot/yaboot/yaboot-1.3.16.ebuild b/sys-boot/yaboot/yaboot-1.3.16.ebuild
index 807b3fbeb1b6..fae596534fb5 100644
--- a/sys-boot/yaboot/yaboot-1.3.16.ebuild
+++ b/sys-boot/yaboot/yaboot-1.3.16.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-boot/yaboot/yaboot-1.3.16.ebuild,v 1.1 2010/10/03 17:09:38 josejx Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-boot/yaboot/yaboot-1.3.16.ebuild,v 1.2 2010/10/03 17:13:16 josejx Exp $
inherit eutils toolchain-funcs
@@ -23,12 +23,7 @@ src_unpack() {
unpack ${A}
cd "${S}"
cp "${FILESDIR}/new-ofpath" "${S}/ybin/ofpath"
-}
-src_compile() {
- export -n CFLAGS
- export -n CXXFLAGS
- [ -n "$(tc-getCC)" ] || CC="gcc"
# dual boot patch
epatch "${FILESDIR}/yabootconfig-1.3.13.patch"
epatch "${FILESDIR}/chrpfix.patch"
@@ -38,7 +33,12 @@ src_compile() {
if [[ "$(gcc-major-version)" -eq "4" ]]; then
epatch "${FILESDIR}/yaboot-nopiessp-gcc4.patch"
fi
- epatch "${FILESDIR}/sysfs-ofpath.patch"
+}
+
+src_compile() {
+ export -n CFLAGS
+ export -n CXXFLAGS
+ [ -n "$(tc-getCC)" ] || CC="gcc"
emake PREFIX=/usr MANDIR=share/man CC="$(tc-getCC)" || die
}