diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-12-07 02:57:33 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-12-07 02:57:33 +0000 |
commit | 220412227d41ea891e4e6a2c64aba222077df92f (patch) | |
tree | ad60d3082954277f3fba2b874944ed8faf1911dd /sys-kernel | |
parent | dont PROVIDE if cross-compiling (diff) | |
download | gentoo-2-220412227d41ea891e4e6a2c64aba222077df92f.tar.gz gentoo-2-220412227d41ea891e4e6a2c64aba222077df92f.tar.bz2 gentoo-2-220412227d41ea891e4e6a2c64aba222077df92f.zip |
dont PROVIDE/block stuff if cross-compiled
Diffstat (limited to 'sys-kernel')
-rw-r--r-- | sys-kernel/linux26-headers/linux26-headers-2.6.8.1-r1.ebuild | 15 |
1 files changed, 9 insertions, 6 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 0ee1ce6a12b0..e2b797b13d60 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.13 2004/12/06 19:44:23 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux26-headers/linux26-headers-2.6.8.1-r1.ebuild,v 1.14 2004/12/07 02:57:33 vapier Exp $ # What's in this kernel? @@ -19,14 +19,17 @@ HOMEPAGE="http://www.kernel.org/ http://www.gentoo.org/" SRC_URI="mirror://kernel/linux/kernel/v2.6/linux-${OKV}.tar.bz2" LICENSE="GPL-2" -[[ ${CTARGET} != ${CHOST} ]] \ - && SLOT="${CTARGET}" \ - || SLOT="0" KEYWORDS="-* amd64 arm hppa ia64 ~ppc ppc64 ~sparc sh x86" IUSE="" -DEPEND="!virtual/os-headers" -PROVIDE="virtual/kernel virtual/os-headers" +if [[ ${CTARGET} = ${CHOST} ]] +then + DEPEND="!virtual/os-headers" + PROVIDE="virtual/kernel virtual/os-headers" + SLOT="0" +else + SLOT="${CTARGET}" +fi S=${WORKDIR}/linux-${OKV} |