Gentoo Archives: gentoo-user

From: Andrey Vul <andrey.vul@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] overlay conflicts
Date: Wed, 19 Nov 2008 05:02:16
Message-Id: e38d12ff0811182102ue715c20o42901836afae5931@mail.gmail.com
In Reply to: Re: [gentoo-user] overlay conflicts by Iain Buchanan
1 On Tue, Nov 18, 2008 at 23:03, Iain Buchanan <iaindb@××××××××××××.au> wrote:
2 > Andrey Vul wrote:
3 >>
4 >> Given package ~foo/bar-1.2.3 from overlay A and package
5 >> **foo/bar-1.2.3 from overlay B, emerge uses the masking in overlay B
6 >> (**). How do I set it to use overlay A when emerging =foo/bar-1.2.3
7 >> (i.e. ~foo/bar-1.2.3) ?
8 >
9 > it's a hack, but you could edit the overlay ebuild and take out the
10 > KEYWORDS...
11 >
12 > You can also tell portage to prefer your /usr/portage directory over an
13 > overlay, by setting make.conf:
14 > PORTDIR_OVERLAY="/usr/local/portage /usr/portage"
15 > (or something - play around with the order). But then this is done for all
16 > packages (with the same version).
17 >
18 So I just rearrange the order in /usr/local/portage/layman/make.conf?