Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 718396 - sys-apps/portage: document non-incremental behavior for USE_EXPAND variable setting in make.conf
Summary: sys-apps/portage: document non-incremental behavior for USE_EXPAND variable s...
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Configuration (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Portage team
Depends on:
Reported: 2020-04-19 19:26 UTC by Zac Medico
Modified: 2022-11-28 23:21 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Zac Medico gentoo-dev 2020-04-19 19:26:30 UTC
The make.conf behavior for USE_EXPAND variables is slightly different from make.defaults behavior in profiles. There has always been an expectation that you could set VIDEO_CARDS="foo" and have that disable all of the video_cards_* settings from the profile, as shown in examples here:

In the implementation, the difference in behavior arises from special treatment of USE_EXPAND variables in the config.regenerate method, where it translates USE_EXPAND variable setting from make.defaults into USE settings (and there's no equivalent code for USE_EXPAND variable settings from make.conf):