summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorJohn Mylchreest <johnm@gentoo.org>2005-09-29 21:37:55 +0000
committerJohn Mylchreest <johnm@gentoo.org>2005-09-29 21:37:55 +0000
commitc95b42225b26d5de7fa6daaf6e9116bcfb32802c (patch)
treee6c9d94b1829b2322655822d7a13692b4fdb00d0 /eclass
parentMarked Stable on amd64 (diff)
downloadhistorical-c95b42225b26d5de7fa6daaf6e9116bcfb32802c.tar.gz
historical-c95b42225b26d5de7fa6daaf6e9116bcfb32802c.tar.bz2
historical-c95b42225b26d5de7fa6daaf6e9116bcfb32802c.zip
Fixes a bug, which I cant find :) Also helps out those who want static /dev, afterall virtual/dev-manager is correct in base profiles
Diffstat (limited to 'eclass')
-rw-r--r--eclass/kernel-2.eclass15
1 files changed, 9 insertions, 6 deletions
diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass
index 3b740526d462..5c32ef4b1ccc 100644
--- a/eclass/kernel-2.eclass
+++ b/eclass/kernel-2.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.146 2005/09/25 12:30:26 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.147 2005/09/29 21:37:55 johnm Exp $
# Description: kernel.eclass rewrite for a clean base regarding the 2.6
# series of kernel with back-compatibility for 2.4
@@ -259,17 +259,20 @@ if [[ ${ETYPE} == sources ]]; then
>=sys-devel/binutils-2.11.90.0.31 )
doc? ( app-text/docbook-sgml-utils
app-text/xmlto )"
+
kernel_is ge 2 6 13 && \
DEPEND="${DEPEND}
- sys-fs/udev"
- RDEPEND="${DEPEND}
- !build? ( >=sys-libs/ncurses-5.2
- sys-devel/make )"
+ !sys-fs/devfsd"
+
+ RDEPEND="!build? ( >=sys-libs/ncurses-5.2
+ sys-devel/make )
+ virtual/dev-manager"
PROVIDE="virtual/linux-sources"
kernel_is gt 2 4 && PROVIDE="${PROVIDE} virtual/alsa"
+
SLOT="${PVR}"
- DESCRIPTION="Sources for the Linux kernel"
+ DESCRIPTION="Sources for the ${KV_MAJOR}.${KV_MINOR} linux kernel"
IUSE="symlink build doc"
elif [[ ${ETYPE} == headers ]]; then
DESCRIPTION="Linux system headers"