#42938: BUG: mysql56 fails to build universal on Mavericks --------------------------------+-------------------------------- Reporter: mcalhoun@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: haspatch mavericks | Port: mysql56 --------------------------------+-------------------------------- r114637 fixed #40865, but I think it may have fixed it twice.[[BR]] I believe this code is unnecessary {{{ if {[string match *clang* ${configure.cxx}] && ${os.major} >= 13} { configure.args-append \ -DCMAKE_CXX_FLAGS:STRING="-stdlib=libstdc++" } }}} since upgrading to 5.6.15 (https://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-15.html) was sufficient. I do not know if there is any other reason to use libstdc++, but setting CMAKE_CXX_FLAGS breaks the universal build because cmake then ignores CXXFLAGS, which is is where -arch is set. If libstdc++ is still needed, may I suggest that the following would allow the universal build to continue to work. {{{ if {[string match *clang* ${configure.cxx}] && ${os.major} >= 13} { configure.cxxflags-append \ -stdlib=libstdc++ } }}} I have attached both possible fixes. -- Ticket URL: <https://trac.macports.org/ticket/42938> MacPorts <http://www.macports.org/> Ports system for OS X