[MacPorts] #57335: port:cmake : why the libcxx depspec on systems that have the system libc++?

MacPorts noreply at macports.org
Wed Oct 10 10:33:49 UTC 2018


#57335: port:cmake : why the libcxx depspec on systems that have the system libc++?
-------------------------+--------------------
 Reporter:  RJVB         |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:
 Keywords:               |       Port:  cmake
-------------------------+--------------------
 Port:cmake has

 {{{
 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++
 }
 }}}

 which seems strange. The port doesn't install anything in its default
 form, and AFAIK isn't designed to *replace* the system libc++ on OS
 versions that provide it.

 It's a minor thing, but it can cause confusion when trying to understand
 install logs from users who encounter a problem. Like it did for me just
 now when I saw libcxx pop up in a clean install log under 10.14...

 Isn't the cxx11 PG supposed to handle the libc++ dependency when needed?

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


More information about the macports-tickets mailing list