[MacPorts] #42061: mysql5: uses /usr/lib/libstdc++.6.dylib as C++ standard library although macports::cxx_stdlib is set to libc++

MacPorts noreply at macports.org
Mon Jan 13 17:57:54 PST 2014


#42061: mysql5: uses /usr/lib/libstdc++.6.dylib as C++ standard library although
macports::cxx_stdlib is set to libc++
--------------------------------+--------------------------
  Reporter:  macsforever2000@…  |      Owner:  ryandesign@…
      Type:  defect             |     Status:  new
  Priority:  Normal             |  Milestone:
 Component:  ports              |    Version:  2.2.1
Resolution:                     |   Keywords:  mavericks
      Port:  mysql5             |
--------------------------------+--------------------------

Comment (by ryandesign@…):

 Indeed, I see the same for mysql56 on my system. Indeed, the Portfile is
 doing this intentionally:
 {{{
     if {[string match *clang* ${configure.cxx}] &&
               ${os.major} >= 13} {

         configure.args-append \
                         -DCMAKE_CXX_FLAGS:STRING="-stdlib=libstdc++"
     }
 }}}
 But the Portfile should presumably be using the new variable available in
 MacPorts trunk to indicate this, if possible.

-- 
Ticket URL: <https://trac.macports.org/ticket/42061#comment:2>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list