portconfigure: Add support for Macports Clang versions 10+ #171
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Minor update to
portconfigure.tcl
to extend the regex used to detect macports provide clang compiler to support the dropping of the minor version from the port name, starting withclang-10
(macports/macports-ports#6902).Note that the changes here do not require any changes in the ports tree, either to add the
clang-10
compiler or to the resources to add it to the known lists, so can be applied before they are done. However the changes here are required to be available beforemacports-clang-10
can be used as a compiler option.Once merged I would propose cherry-picking this to the 2.6 release branch, such as to make it available in the next release from that branch.