Skip to content
Permalink
Browse files

ncurses: Check os.platform before os.major

  • Loading branch information
ryandesign committed Jun 28, 2020
1 parent 10fb2b4 commit ab91419946f8d1e87862363378cc4fbce6da09da
Showing with 1 addition and 1 deletion.
  1. +1 −1 devel/ncurses/Portfile
@@ -28,7 +28,7 @@ subport ${name}-bootstrap {
prefix ${prefix}/libexec/libcxx-bootstrap
configure.cxx_stdlib libstdc++
compiler.whitelist clang llvm-gcc-4.2 gcc-4.2 apple-gcc-4.2
if {${os.major} >= 18} {
if {${os.platform} eq "darwin" && ${os.major} >= 18} {
# libstdc++ can't be used on Mojave and later
known_fail yes
}

0 comments on commit ab91419

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