Gentoo Archives: gentoo-alt

From: Elias Pipping <pipping@g.o>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] tk-8.4.15-r1 on x86-macos
Date: Fri, 30 Nov 2007 05:58:44
Message-Id: 20071130055824.GA83362@macbook.local
In Reply to: Re: [gentoo-alt] tk-8.4.15-r1 on x86-macos by Johan Hattne
1 On Thu, Nov 29, 2007 at 12:42:29PM +0100, Johan Hattne wrote:
2 >
3 > On Nov 29, 2007, at 12:04 , Michael Haubenwallner wrote:
4 >
5 >> On Thu, 2007-11-29 at 10:38 +0100, Johan Hattne wrote:
6 >>
7 >>> I'm not so sure. AND takes precedence over OR, so
8 >>
9 >> Nope, 'man bash' says:
10 >>
11 >> Of these list operators, && and || have equal precedence,
12 >> followed by ; and &, which have equal precedence.
13 >
14 > Sorry, I should have checked that! My mistake!
15 >
16 >>>
17 >>> a && b || c
18 >>>
19 >>> is equivalent to
20 >>>
21 >>> ( a && b ) || c
22 >>
23 >> Yes, but
24 >>
25 >> a || b && c
26 >>
27 >> also is equivalent to
28 >>
29 >> ( a || b ) && c
30 >>
31 >
32 > But I still believe that what we have tk is broken
33 >
34 > [[ ${CHOST} != *-darwin* ]] && sed -i \
35 > -e
36 > "s,^\(TK_CC_SEARCH_FLAGS='.*\)',\1:${EPREFIX}/usr/${mylibdir}'," \
37 > -e
38 > "s,^\(TK_LD_SEARCH_FLAGS='.*\)',\1:${EPREFIX}/usr/${mylibdir}'," \
39 > "${ED}"/usr/${mylibdir}/tkConfig.sh || die
40 >
41 > because it'll die if CHOST isn't darwin OR if the sed fails. In my case
42 > CHOST is darwin.
43
44 That is correct.
45
46 Fixed in r13393[1]-13394[2]
47
48
49 -- Elias
50
51 http://overlays.gentoo.org/proj/alt/changeset/13393
52 http://overlays.gentoo.org/proj/alt/changeset/13394

Replies

Subject Author
Re: [gentoo-alt] tk-8.4.15-r1 on x86-macos Johan Hattne <johan.hattne@××××××××××××.de>