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

MacPorts noreply at macports.org
Thu Dec 12 14:17:55 UTC 2019


#59835: cmake: strange libc++ "if" condition
-----------------------+--------------------
 Reporter:  michaelld  |      Owner:  (none)
     Type:  defect     |     Status:  new
 Priority:  Normal     |  Milestone:
Component:  ports      |    Version:
 Keywords:             |       Port:  cmake
-----------------------+--------------------
 in < https://github.com/macports/macports-
 ports/commit/fcaeca417b5d60413f106f01c11dda06749c867b > this change was
 made to CMake Portfile:
 {{{
 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++
 }
 }}}

 RJVB responds < https://github.com/macports/macports-
 ports/commit/cb7d64131b533a23695817b2aaa464e9e476ba78#commitcomment-36395605
 >
 {{{
 I don't get this; why would you force a dependency on libc++ on non-Mac
 platforms?
 }}}

 I concur: what's up with this "if" statement? It seems very odd. Let's get
 it fixed & make CMake great again for impacted OSs!

 Maybe with the current MP release we can remove this code entirely since I
 think all of the impacted OSX will use libc++ now anyway ... ?

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


More information about the macports-tickets mailing list