Skip to content
Permalink
Browse files

classias: Error early with libc++

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 c2fe5a994aac8f22a7f867d4aaeb348fe9c36af1
Showing with 3 additions and 3 deletions.
  1. +3 −3 math/classias/Portfile
@@ -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"
}
}
}

0 comments on commit c2fe5a9

Please sign in to comment.
You can’t perform that action at this time.