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

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

 Replying to [comment:3 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++
 > }
 > }}}

 that would be exactly the opposite of what we need :)

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


More information about the macports-tickets mailing list