Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in eclass: multiprocessing.eclass
Date: Sat, 07 Dec 2013 09:14:22
Message-Id: 20131207091415.F28D92004B@flycatcher.gentoo.org
1 vapier 13/12/07 09:14:15
2
3 Modified: multiprocessing.eclass
4 Log:
5 use $CBUILD rather than uname for host detection #479656
6
7 Revision Changes Path
8 1.7 eclass/multiprocessing.eclass
9
10 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/multiprocessing.eclass?rev=1.7&view=markup
11 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/multiprocessing.eclass?rev=1.7&content-type=text/plain
12 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/multiprocessing.eclass?r1=1.6&r2=1.7
13
14 Index: multiprocessing.eclass
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/multiprocessing.eclass,v
17 retrieving revision 1.6
18 retrieving revision 1.7
19 diff -u -r1.6 -r1.7
20 --- multiprocessing.eclass 6 Dec 2013 03:04:01 -0000 1.6
21 +++ multiprocessing.eclass 7 Dec 2013 09:14:15 -0000 1.7
22 @@ -1,6 +1,6 @@
23 # Copyright 1999-2013 Gentoo Foundation
24 # Distributed under the terms of the GNU General Public License v2
25 -# $Header: /var/cvsroot/gentoo-x86/eclass/multiprocessing.eclass,v 1.6 2013/12/06 03:04:01 jcallen Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/eclass/multiprocessing.eclass,v 1.7 2013/12/07 09:14:15 vapier Exp $
27
28 # @ECLASS: multiprocessing.eclass
29 # @MAINTAINER:
30 @@ -228,7 +228,7 @@
31 local var=$1 file=$2 redir=${3:-"<>"}
32
33 # Make sure /dev/fd is sane on Linux hosts. #479656
34 - if [[ ! -L /dev/fd && $(uname) == Linux ]] ; then
35 + if [[ ! -L /dev/fd && ${CBUILD} == *linux* ]] ; then
36 eerror "You're missing a /dev/fd symlink to /proc/self/fd."
37 eerror "Please fix the symlink and check your boot scripts (udev/etc...)."
38 die "/dev/fd is broken"