Skip to content

Commit

Permalink
classias: Error early with libc++
Browse files Browse the repository at this point in the history
Update error message to indicate that libc++, not Mavericks, is the reason the
port can't build.
  • Loading branch information
ryandesign committed Oct 9, 2019
1 parent 75126d3 commit c2fe5a9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions math/classias/Portfile
Expand Up @@ -24,12 +24,12 @@ depends_lib port:liblbfgs
compiler.blacklist *clang*

platform darwin {
if {${os.major} >= 13} {
if {${configure.cxx_stdlib} eq "libc++"} {
depends_lib
depends_run
pre-fetch {
ui_error "$name does not build on Mavericks or later."
error "unsupported platform"
ui_error "$name does not build with libc++"
return -code error "unsupported platform"
}
}
}
Expand Down

0 comments on commit c2fe5a9

Please sign in to comment.