Alan McKinnon <alan.mckin...@gmail.com> writes:

[...]

>> I tried the later like so:
>>    /etc/portage/package.use/app-editors/emacs-vcs
>> where emacs-vcs contains:
>> 
>>    emacs-vcs Xaw3d athena gnutls imagemagick toolkit-scroll-bars
>> 
>> and this way:
>> 
>>    >=app-editors/emacs-vcs-25.0.50_pre20150731 Xaw3d athena gnutls 
>> imagemagick toolkit-scroll-bars
>> 
>> But when I attempt emerging... the USE flags do not reflect those
>> choices and shows and error:
>> 
>> --- Invalid atom in /etc/portage/package.use/app-editors/emacs-vcs:
>>     >=app-editors/emacs-vcs
>> 
>> So what is the correct format?
>
>
> Both your above are completely wrong. The docs clearly and unambiguously
> say the exact format inside the file is identical whether you use a
> package.use file, or any old arb filename you want inside a package.use/
> directory
>
> You have not done this, you have let your confused brain override what
> your eyes can clearly see, and have invented something new to do that is
> not in the docs. Tut, tut.

> Read the docs again and do what they say.

Yes indeed... thanks


wraeth <wra...@wraeth.id.au> writes:

> I'd already typed up this response when I saw the one from Alan come
> in; figured I'd send it anyway - two responses that essentially agree
> are better than one, right?

[...]

> Create a file within the package.use directory, named whatever seems
> reasonable to you, and put the contents:
>
> app-editors/emacs-vcs Xaw3d athena gnutls imagemagick toolkit-scroll-bars
>
> Enter a single package atom followed by any use flag changes - flag
> name to enable, minus flag name to disable. In case the above example
> wrapped, keep the package atom and the flags on a single line.
>
> As far as I'm aware, you can't nest files within subdirectories of
> package.use, and the man page doesn't mention version ranges - it's
> example is an exact atom (=) and wildcards (see portage(5) man page).

Very helpful... thank you.  I've got it going now.


Reply via email to