[MacPorts] #59835: cmake: strange libc++ "if" condition

MacPorts noreply at macports.org
Thu Dec 12 15:06:40 UTC 2019

#59835: cmake: strange libc++ "if" condition
  Reporter:  michaelld  |      Owner:  (none)
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:
Resolution:             |   Keywords:
      Port:  cmake      |

Comment (by michaelld):

 If we keep the intent of this "if" contents, then based on Rene's comment,
 I'd think something like the following would make more sense:
 if {(${os.platform} eq "darwin") && !((${os.major} < 10) || ${build_arch}
 eq "ppc" || ${build_arch} eq "ppc64")} {
     depends_lib-append port:libcxx
     configure.cxx_stdlib libc++

Ticket URL: <https://trac.macports.org/ticket/59835#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS

More information about the macports-tickets mailing list