summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'virtual/os-headers/os-headers-0.ebuild')
-rw-r--r--virtual/os-headers/os-headers-0.ebuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/virtual/os-headers/os-headers-0.ebuild b/virtual/os-headers/os-headers-0.ebuild
index 7f55af07eeff..713b3b19b7f3 100644
--- a/virtual/os-headers/os-headers-0.ebuild
+++ b/virtual/os-headers/os-headers-0.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/virtual/os-headers/os-headers-0.ebuild,v 1.4 2011/05/09 20:11:43 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/virtual/os-headers/os-headers-0.ebuild,v 1.5 2012/03/23 02:32:51 darkside Exp $
EAPI=1
@@ -16,7 +16,8 @@ IUSE=""
DEPEND=""
# depend on SLOT 0 of linux-headers, because kernel-2.eclass
# sets a different SLOT for cross-building
-RDEPEND="!prefix? (
- || ( sys-kernel/linux-headers:0
- sys-freebsd/freebsd-lib )
+RDEPEND="
+ || (
+ kernel_linux? ( sys-kernel/linux-headers:0 )
+ !prefix? ( sys-freebsd/freebsd-lib )
)"