summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2008-06-01 08:56:56 +0000
committerAlexis Ballier <aballier@gentoo.org>2008-06-01 08:56:56 +0000
commit594c03f09e199ed05f4bea92c30e96d456857476 (patch)
treed701184ee074ff63fe0c5c689f1dd3c67e3bb1e1
parentadd missing IUSE as per bug #224375, remove old versions (diff)
downloadhistorical-594c03f09e199ed05f4bea92c30e96d456857476.tar.gz
historical-594c03f09e199ed05f4bea92c30e96d456857476.tar.bz2
historical-594c03f09e199ed05f4bea92c30e96d456857476.zip
Fix tc-arch-kernel for freebsd: it is still i386 there, bug #222715
-rw-r--r--eclass/toolchain-funcs.eclass5
1 files changed, 3 insertions, 2 deletions
diff --git a/eclass/toolchain-funcs.eclass b/eclass/toolchain-funcs.eclass
index bc97cefe0e04..b0c60c369246 100644
--- a/eclass/toolchain-funcs.eclass
+++ b/eclass/toolchain-funcs.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-funcs.eclass,v 1.76 2008/04/16 14:16:45 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-funcs.eclass,v 1.77 2008/06/01 08:56:56 aballier Exp $
# @ECLASS: toolchain-funcs.eclass
# @MAINTAINER:
@@ -173,7 +173,8 @@ ninj() { [[ ${type} == "kern" ]] && echo $1 || echo $2 ; }
i?86*)
# Starting with linux-2.6.24, the 'x86_64' and 'i386'
# trees have been unified into 'x86'.
- if [[ ${type} == "kern" ]] && [[ $(KV_to_int ${KV}) -lt $(KV_to_int 2.6.24) ]] ; then
+ # FreeBSD still uses i386
+ if [[ ${type} == "kern" ]] && [[ $(KV_to_int ${KV}) -lt $(KV_to_int 2.6.24) || ${host} == *freebsd* ]] ; then
echo i386
else
echo x86