--- platform/macos/detect.py.orig +++ platform/macos/detect.py @@ -32,7 +32,7 @@ ("SWIFT_FRONTEND", "Path to the swift-frontend binary", ""), ("MACOS_SDK_PATH", "Path to the macOS SDK", ""), ("vulkan_sdk_path", "Path to the Vulkan SDK", ""), - EnumVariable("macports_clang", "Build using Clang from MacPorts", "no", ["no", "5.0", "devel"], ignorecase=2), + ("macports_clang", "Build using Clang from MacPorts", "no"), BoolVariable("use_ubsan", "Use LLVM/GCC compiler undefined behavior sanitizer (UBSAN)", False), BoolVariable("use_asan", "Use LLVM/GCC compiler address sanitizer (ASAN)", False), BoolVariable("use_tsan", "Use LLVM/GCC compiler thread sanitizer (TSAN)", False),