summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-08-29 05:09:44 +0000
committerMike Frysinger <vapier@gentoo.org>2011-08-29 05:09:44 +0000
commit86f16623be87377c2745a00d1a3c8820e1cbaba1 (patch)
tree64b00aaf9c103d5e3373872dd5c0a1840d82df19 /sys-kernel/linux-headers
parentNeed eautoreconf for BSD to pass elibtoolize (diff)
downloadgentoo-2-86f16623be87377c2745a00d1a3c8820e1cbaba1.tar.gz
gentoo-2-86f16623be87377c2745a00d1a3c8820e1cbaba1.tar.bz2
gentoo-2-86f16623be87377c2745a00d1a3c8820e1cbaba1.zip
Split src_unpack into src_prepare for EAPI=3.
(Portage version: 2.2.0_alpha51/cvs/Linux x86_64)
Diffstat (limited to 'sys-kernel/linux-headers')
-rw-r--r--sys-kernel/linux-headers/ChangeLog7
-rw-r--r--sys-kernel/linux-headers/linux-headers-2.6.36.1.ebuild6
-rw-r--r--sys-kernel/linux-headers/linux-headers-2.6.38.ebuild8
-rw-r--r--sys-kernel/linux-headers/linux-headers-2.6.39.ebuild6
4 files changed, 19 insertions, 8 deletions
diff --git a/sys-kernel/linux-headers/ChangeLog b/sys-kernel/linux-headers/ChangeLog
index 353bb7a6416e..9cb88ad08609 100644
--- a/sys-kernel/linux-headers/ChangeLog
+++ b/sys-kernel/linux-headers/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-kernel/linux-headers
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/ChangeLog,v 1.322 2011/08/15 04:55:13 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/ChangeLog,v 1.323 2011/08/29 05:09:44 vapier Exp $
+
+ 29 Aug 2011; Mike Frysinger <vapier@gentoo.org>
+ linux-headers-2.6.36.1.ebuild, linux-headers-2.6.38.ebuild,
+ linux-headers-2.6.39.ebuild:
+ Split src_unpack into src_prepare for EAPI=3.
*linux-headers-2.6.39 (15 Aug 2011)
diff --git a/sys-kernel/linux-headers/linux-headers-2.6.36.1.ebuild b/sys-kernel/linux-headers/linux-headers-2.6.36.1.ebuild
index 3c5b19672962..0cfed30dfd44 100644
--- a/sys-kernel/linux-headers/linux-headers-2.6.36.1.ebuild
+++ b/sys-kernel/linux-headers/linux-headers-2.6.36.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/linux-headers-2.6.36.1.ebuild,v 1.7 2011/04/04 22:45:40 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/linux-headers-2.6.36.1.ebuild,v 1.8 2011/08/29 05:09:44 vapier Exp $
EAPI="3"
@@ -22,7 +22,9 @@ S=${WORKDIR}/gentoo-headers-base-${PV}
src_unpack() {
unpack ${A}
- cd "${S}"
+}
+
+src_prepare() {
[[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/${PV%.1}
}
diff --git a/sys-kernel/linux-headers/linux-headers-2.6.38.ebuild b/sys-kernel/linux-headers/linux-headers-2.6.38.ebuild
index dc69eb46e2ff..c85ec9cafa6a 100644
--- a/sys-kernel/linux-headers/linux-headers-2.6.38.ebuild
+++ b/sys-kernel/linux-headers/linux-headers-2.6.38.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/linux-headers-2.6.38.ebuild,v 1.1 2011/03/18 19:49:01 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/linux-headers-2.6.38.ebuild,v 1.2 2011/08/29 05:09:44 vapier Exp $
EAPI="3"
@@ -22,8 +22,10 @@ S=${WORKDIR}/gentoo-headers-base-${PV}
src_unpack() {
unpack ${A}
- cd "${S}"
- [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/${PV%.1}
+}
+
+src_prepare() {
+ [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/${PV}
}
src_install() {
diff --git a/sys-kernel/linux-headers/linux-headers-2.6.39.ebuild b/sys-kernel/linux-headers/linux-headers-2.6.39.ebuild
index e6f3871de50a..dfc4da694518 100644
--- a/sys-kernel/linux-headers/linux-headers-2.6.39.ebuild
+++ b/sys-kernel/linux-headers/linux-headers-2.6.39.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/linux-headers-2.6.39.ebuild,v 1.1 2011/08/15 04:55:13 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/linux-headers-2.6.39.ebuild,v 1.2 2011/08/29 05:09:44 vapier Exp $
EAPI="3"
@@ -22,7 +22,9 @@ S=${WORKDIR}/gentoo-headers-base-${PV}
src_unpack() {
unpack ${A}
- cd "${S}"
+}
+
+src_prepare() {
[[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/${PV}
}