Gentoo Archives: gentoo-alt

From: "François Bissey" <francois.bissey@×××××××××××××.nz>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] masking useflag for prefix in an overlay
Date: Wed, 01 May 2013 03:18:47
Message-Id: 4427399.5OAXdYQbVM@qcd-nzi3
In Reply to: Re: [gentoo-alt] masking useflag for prefix in an overlay by Zac Medico
1 On Tue, 30 Apr 2013 20:03:13 Zac Medico wrote:
2 > On 04/30/2013 07:45 PM, François Bissey wrote:
3 > > Hi,
4 > >
5 > > I have at least one ebuild in an overlay that I try to maintain as
6 > > prefix friendly as possible. I have discovered that one of the ebuild
7 > > we carry has a useflag that is not working properly on macos-x86
8 > > (at least on 10.5.8). So I proceeded to mask it in:
9 > > profiles/prefix/darwin/macos/arch/x86/package.use.mask
10 > > However once I synced the overlay on my Mac the useflag was still
11 > > available for that ebuild.
12 > >
13 > > Am I doing something wrong or are the overlays not inheriting that part of
14 > > the profile?
15 >
16 > If you do it that way, then the user's profile would have to inherit
17 > that profile explicitly from your overlay. Instead, you probably want to
18 > use ${repository}/profiles/package.use.mask, which has been supported
19 > for nearly 2 years now:
20 >
21 > https://bugs.gentoo.org/show_bug.cgi?id=370693
22
23 Ok, I actually had put it in:
24 ${repository}/profiles/prefix/darwin/macos/arch/x86/package.use.mask
25 I would be ok to use ${repository}/profiles/package.use.mask but how
26 do I restrict the useflag to macos-x86 only?
27 The overlay, sage-on-gentoo, is widely available and works for most people
28 on regular gentoo, linux prefix and macos prefix. I don't want to do something
29 that will affect other arches.
30
31 Francois

Replies

Subject Author
Re: [gentoo-alt] masking useflag for prefix in an overlay Zac Medico <zmedico@g.o>