Skip to content

Commit

Permalink
rust: update supported platform check to 10.10 and newer
Browse files Browse the repository at this point in the history
  • Loading branch information
cjones051073 committed Mar 14, 2021
1 parent 4969535 commit ddc74cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lang/rust/Portfile
Expand Up @@ -87,10 +87,10 @@ checksums-append rust-std-${rustc_version}-x86_64-apple-${os.platform}${extra
sha256 2bd6eb276193b70b871c594ed74641235c8c4dcd77e9b8f193801c281b55478d \
size 5388171

if {${os.platform} eq "darwin" && ${os.major} < 11} {
if {${os.platform} eq "darwin" && ${os.major} < 14} {
known_fail yes
pre-fetch {
ui_error "${name} is only supported on OS X 10.7 Lion or later."
ui_error "${name} is only supported on macOS 10.10 or later."
return -code error "unsupported platform version"
}
}
Expand Down

0 comments on commit ddc74cf

Please sign in to comment.