summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Mylchreest <johnm@gentoo.org>2004-01-23 21:41:23 +0000
committerJohn Mylchreest <johnm@gentoo.org>2004-01-23 21:41:23 +0000
commit93fdd9b8288d8bd105ccefb65ebcc0ee1f749c0a (patch)
tree7885097efcaff67f4de2fb7aa4b30de551bbe259 /eclass/kernel-2.eclass
parentUpdateded bsdiff-4.1 ebuild to have 2004 copyrigh header, changed maintainer ... (diff)
downloadhistorical-93fdd9b8288d8bd105ccefb65ebcc0ee1f749c0a.tar.gz
historical-93fdd9b8288d8bd105ccefb65ebcc0ee1f749c0a.tar.bz2
historical-93fdd9b8288d8bd105ccefb65ebcc0ee1f749c0a.zip
minor fix in alsa virtual code
Diffstat (limited to 'eclass/kernel-2.eclass')
-rw-r--r--eclass/kernel-2.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass
index 58e5096777ee..9faa948734d0 100644
--- a/eclass/kernel-2.eclass
+++ b/eclass/kernel-2.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.16 2004/01/23 19:45:25 johnm Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.17 2004/01/23 21:41:23 johnm Exp $
# kernel.eclass rewrite for a clean base regarding the 2.6 series of kernel
# with back-compatibility for 2.4
@@ -51,7 +51,7 @@ then
sys-apps/module-init-tools
sys-devel/make )"
- PROVIDE="virtual/linux-sources virtual/alsa"
+ [ $(kernel_is_2_4) $? == 0 ] && PROVIDE="virtual/linux-sources" || PROVIDE="virtual/linux-sources virtual/alsa"
elif [ "${ETYPE}" == "headers" ]
then