Gentoo Archives: gentoo-dev

From: Alexis Ballier <aballier@g.o>
To: gentoo-dev@l.g.o
Cc: mgorny@g.o
Subject: Re: [gentoo-dev] [PATCH 2/2] Use new multilib flags in autotools-multilib.
Date: Sat, 26 Jan 2013 15:30:25
Message-Id: 20130126123016.6e6b34c2@gentoo.org
In Reply to: Re: [gentoo-dev] [PATCH 2/2] Use new multilib flags in autotools-multilib. by "Michał Górny"
1 On Sat, 26 Jan 2013 16:08:45 +0100
2 Michał Górny <mgorny@g.o> wrote:
3
4 > On Sat, 26 Jan 2013 11:54:44 -0300
5 > Alexis Ballier <aballier@g.o> wrote:
6 >
7 > > On Sat, 26 Jan 2013 13:11:41 +0100
8 > > Michał Górny <mgorny@g.o> wrote:
9 > >
10 > > > > (maybe protect it with has_multilib_profile if you wish)
11 > > >
12 > > > Well, the current code assumes that no flags == non-multilib
13 > > > profile.
14 > >
15 > > .. and I hit send to quickly:
16 > > coming back to the skype example, with this assumption, on x86
17 > > libitneeds will have no abi useflag enabled while on amd64 it'll
18 > > have abi_x86_32, so you'll end with deps like: x86? ( libitneeds
19 > > ) !x86? ( libitneeds[abi_x86_32] )
20 >
21 > Hmm, maybe we should make 'plain x86' use.force the abi_x86_32 flag
22 > (though keeping it hidden). Then the following dep will work for both
23 > arches:
24 >
25 > libitneeds[abi_x86_32]
26
27 yep, that's the best thing to do IMHO, but then if you want no multilib
28 -> returns empty list then you'll have to check it with
29 has_multilib_profile :)
30
31 Alexis.

Replies