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

MacPorts noreply at macports.org
Thu Dec 12 15:50:37 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):

 that "!" just screws with one's mind, doesn't it! I think now you're
 getting what Rene was having an issue with ...

 Maybe this could be moved to the following:
 platform "darwin" {
     if {!((${os.major} < 10) || ${build_arch} eq "ppc" || ${build_arch} eq
 "ppc64")} {
         depends_lib-append port:libcxx
         configure.cxx_stdlib libc++
 ... and i think that would make Rene happy (at least for this specific
 issue; not necessary in general, of course!) ... this seems like the more
 minimal change to me ...

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

More information about the macports-tickets mailing list