summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-12-06 19:44:23 +0000
committerMike Frysinger <vapier@gentoo.org>2004-12-06 19:44:23 +0000
commit92e6ab5bf2fc5e6b500db625d13454247b2ed323 (patch)
tree03dc43da1826f0a9b724deb18d97edbc2a3440c2 /sys-kernel/linux26-headers
parentremove ctarget from SLOT for now (Manifest recommit) (diff)
downloadgentoo-2-92e6ab5bf2fc5e6b500db625d13454247b2ed323.tar.gz
gentoo-2-92e6ab5bf2fc5e6b500db625d13454247b2ed323.tar.bz2
gentoo-2-92e6ab5bf2fc5e6b500db625d13454247b2ed323.zip
friendly SLOT for upgrading
Diffstat (limited to 'sys-kernel/linux26-headers')
-rw-r--r--sys-kernel/linux26-headers/linux26-headers-2.6.8.1-r1.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys-kernel/linux26-headers/linux26-headers-2.6.8.1-r1.ebuild b/sys-kernel/linux26-headers/linux26-headers-2.6.8.1-r1.ebuild
index 122cb384f23d..0ee1ce6a12b0 100644
--- a/sys-kernel/linux26-headers/linux26-headers-2.6.8.1-r1.ebuild
+++ b/sys-kernel/linux26-headers/linux26-headers-2.6.8.1-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux26-headers/linux26-headers-2.6.8.1-r1.ebuild,v 1.12 2004/12/03 19:25:53 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux26-headers/linux26-headers-2.6.8.1-r1.ebuild,v 1.13 2004/12/06 19:44:23 vapier Exp $
# What's in this kernel?
@@ -19,7 +19,9 @@ HOMEPAGE="http://www.kernel.org/ http://www.gentoo.org/"
SRC_URI="mirror://kernel/linux/kernel/v2.6/linux-${OKV}.tar.bz2"
LICENSE="GPL-2"
-SLOT="${CTARGET}"
+[[ ${CTARGET} != ${CHOST} ]] \
+ && SLOT="${CTARGET}" \
+ || SLOT="0"
KEYWORDS="-* amd64 arm hppa ia64 ~ppc ppc64 ~sparc sh x86"
IUSE=""