If you have
cat/pkg FOO: use2
in your package.use, portage handles this as
cat/pkg use1 foo_use2 foo_use3
cat/pkg use1 foo_use2 use3
Steps to Reproduce:
1. Replace package.use contents with these two lines:
*/* ABI_X86: 32 64
2. Run `emerge --info`
USE does not contains sqlite3, but ABI_X86 does (i.e. ABI_X86="64 32 sqlite3")
USE should countain "sqlite3", ABI_X86 should be "64 32"
Created attachment 401194 [details]
Created attachment 401272 [details, diff]
Make USE_EXPAND do not affect subsequent lines of same atom in package.use
Patch for latest git version (9b74a79004288572e42140c8084126a4c223fa0d)
Your patch looks pretty reasonable to me. However, when adding new function parameters please use True/False for boolean values rather than integers. The use of integers for boolean values is a style quirk that we should not propagate.
Yeah, patch looks good otherwise.
Zac, do you want to make an additional patch to change those 0/1 to True/False while we're in here making changes?
(In reply to Brian Dolbec from comment #4)
> Zac, do you want to make an additional patch to change those 0/1 to
> True/False while we're in here making changes?
Yeah, maybe later today. I've started a branch here:
And I've posted the first patch for review here:
This is in the master branch:
Released in portage-2.2.19