On Sun, May 18, 2008 at 08:32:40AM -0500, firstname.lastname@example.org wrote:
> Stroller <email@example.com> writes:
> > On 17 May 2008, at 16:00, Alexander Meinke wrote:
> >>>> So again, if one wanted to set some use flags differently for layman
> >>>> packages ... where and how would that be done?
> >>> I think that you should use package.use.
> >> Yes. According to Strollers post this is done by an package.use file
> >> in /usr/portage/layman I think.
> > Yes, package.use, but not anywhere special - just the regular one in /
> > etc/portage/, /etc/portage/package.use. This sets use flags for all
> > packages, both in the main tree AND in layman.
> I'm a little confused .. the question (that you quoted in your
> reply) asks how to set use flags separately for layman overlay.
> So your answer doesn't appear to make sense... but maybe I'm missing
> something here.
There is no way to set use flags separately for packages in overlays.
If you have a package foo which uses use flag bar and you want to have
that use flag turned on, just put this line in /etc/portage/package.use.
That will turn on the bar use flag for package foo, regardless of
whether foo is from the main tree or an overlay.
gentoo accessibility team lead
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
> So I think you wont be able to set USE-Flags specially for layman
That appears to be correct, as there is no mention of overlay-specific
USE settings anywhere in the layman docs.
So, it seems that one still has only the same two options that portage
- global, in make.conf
- per package/version in package.use
and the presence of layman does not change this rule in any way.
Actually this makes sense - all layman does for portage is provide a
whole new bunch of ebuilds to select from. Portage is not aware of
layman and so can't change the way it deals with USE flags because of
alan dot mckinnon at gmail dot com
firstname.lastname@example.org mailing list
05-18-2008, 04:09 PM
How to set package.use for layman overlays
On Sun, 18 May 2008 09:01:12 -0500, William Hubbs wrote:
> There is no way to set use flags separately for packages in overlays.
That's not always true. If the overlay provides a version that is not in
portage, like a cat/pkg-9999 for a CVS/SVN ebuild, then a
version-specific entry in package.use will only affect the overlay
However, /etc/portage/package.use is the correct place to set
package-specific USE variables fro all packages, no matter whether they
come from an overlay or the portage tree.