Commit e7c412f
committed
tatt: don't let IUSE defaults override the profile
_build_job unioned the ebuild's +flag defaults over the domain's enabled use
flags to build a package's default configuration. But pkgcore already folds
those in at their proper priority; get_package_use_unconfigured hands them
to enabled_use.pull_data as pre_defaults, below the profile and package.use,
then drops the masked ones; so unioning them back on top reinstated exactly
the flags the profile had turned off.
x11-misc/sddm carries IUSE="+elogind systemd" with REQUIRED_USE="^^ ( elogind systemd )".
On a systemd profile elogind is use.masked and enabled holds systemd, but
the union put elogind back, leaving the solver to break the ^^ against
the profile: --use-default emitted TUSE="-systemd elogind".
Drop default_on_iuse and use enabled alone, which also matches
_groupby_use_expand, already taking it as the baseline for what to print.
Resolves: #183
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>1 parent b5369df commit e7c412f
2 files changed
Lines changed: 7 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
37 | 42 | | |
38 | 43 | | |
39 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
280 | 280 | | |
281 | 281 | | |
282 | 282 | | |
283 | | - | |
284 | 283 | | |
285 | 284 | | |
286 | 285 | | |
287 | 286 | | |
288 | 287 | | |
289 | 288 | | |
290 | 289 | | |
291 | | - | |
| 290 | + | |
292 | 291 | | |
293 | 292 | | |
294 | 293 | | |
| |||
303 | 302 | | |
304 | 303 | | |
305 | 304 | | |
306 | | - | |
307 | | - | |
308 | | - | |
| 305 | + | |
309 | 306 | | |
310 | 307 | | |
311 | 308 | | |
| |||
0 commit comments