From: | "Alexis Ballier (aballier)" <aballier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in eclass: toolchain-funcs.eclass |
Date: | Sun, 01 Jun 2008 08:57:02 |
Message-Id: | E1K2jN2-0002fg-Vl@stork.gentoo.org |
1 | aballier 08/06/01 08:56:56 |
2 | |
3 | Modified: toolchain-funcs.eclass |
4 | Log: |
5 | Fix tc-arch-kernel for freebsd: it is still i386 there, bug #222715 |
6 | |
7 | Revision Changes Path |
8 | 1.77 eclass/toolchain-funcs.eclass |
9 | |
10 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/toolchain-funcs.eclass?rev=1.77&view=markup |
11 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/toolchain-funcs.eclass?rev=1.77&content-type=text/plain |
12 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/toolchain-funcs.eclass?r1=1.76&r2=1.77 |
13 | |
14 | Index: toolchain-funcs.eclass |
15 | =================================================================== |
16 | RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain-funcs.eclass,v |
17 | retrieving revision 1.76 |
18 | retrieving revision 1.77 |
19 | diff -u -r1.76 -r1.77 |
20 | --- toolchain-funcs.eclass 16 Apr 2008 14:16:45 -0000 1.76 |
21 | +++ toolchain-funcs.eclass 1 Jun 2008 08:56:56 -0000 1.77 |
22 | @@ -1,6 +1,6 @@ |
23 | # Copyright 1999-2007 Gentoo Foundation |
24 | # Distributed under the terms of the GNU General Public License v2 |
25 | -# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-funcs.eclass,v 1.76 2008/04/16 14:16:45 vapier Exp $ |
26 | +# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-funcs.eclass,v 1.77 2008/06/01 08:56:56 aballier Exp $ |
27 | |
28 | # @ECLASS: toolchain-funcs.eclass |
29 | # @MAINTAINER: |
30 | @@ -173,7 +173,8 @@ |
31 | i?86*) |
32 | # Starting with linux-2.6.24, the 'x86_64' and 'i386' |
33 | # trees have been unified into 'x86'. |
34 | - if [[ ${type} == "kern" ]] && [[ $(KV_to_int ${KV}) -lt $(KV_to_int 2.6.24) ]] ; then |
35 | + # FreeBSD still uses i386 |
36 | + if [[ ${type} == "kern" ]] && [[ $(KV_to_int ${KV}) -lt $(KV_to_int 2.6.24) || ${host} == *freebsd* ]] ; then |
37 | echo i386 |
38 | else |
39 | echo x86 |
40 | |
41 | |
42 | |
43 | -- |
44 | gentoo-commits@l.g.o mailing list |