Skip to content

Fix Variables.PackageVariable with bool default string#4703

Merged
bdbaddog merged 2 commits into
SCons:masterfrom
dekeonus:pkgvar_negdef
Mar 29, 2025
Merged

Fix Variables.PackageVariable with bool default string#4703
bdbaddog merged 2 commits into
SCons:masterfrom
dekeonus:pkgvar_negdef

Conversation

@dekeonus

Copy link
Copy Markdown
Contributor

when passed a 'true' string on the command line actually test default value against both ENABLE_STRINGS and DISABLE_STRINGS

Closes: #4702

See-Also: https://bugs.gentoo.org/950584

Contributor Checklist:

  • I have created a new test or updated the unit tests to cover the new/changed functionality.
  • I have updated CHANGES.txt and RELEASE.txt (and read the README.rst).
  • I have updated the appropriate documentation

when passed a 'true' string on the command line actually test default
value against both ENABLE_STRINGS and DISABLE_STRINGS

Closes: SCons#4702

See-Also: https://bugs.gentoo.org/950584

Signed-off-by: Bill Prendergast <dek.devel@baisenvar.info>
Comment thread SCons/Variables/PackageVariable.py
@mwichmann mwichmann added this to 4.10 Mar 29, 2025
@mwichmann mwichmann moved this to In review in 4.10 Mar 29, 2025
@bdbaddog

Copy link
Copy Markdown
Contributor

Please also add a blurb to RELEASE.txt

@bdbaddog
bdbaddog merged commit be6c181 into SCons:master Mar 29, 2025
@github-project-automation github-project-automation Bot moved this from In review to Done in 4.10 Mar 29, 2025
@mwichmann mwichmann added this to the NextRelease milestone Mar 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

Variables/PackageVariable.py only compares *default* against ENABLE_STRINGS

3 participants