[MacPorts] #59563: mariadb-10.2: configure.cxxflags-append -std=c++11 # plus `port bump`

MacPorts noreply at macports.org
Sun Nov 3 22:38:35 UTC 2019


#59563: mariadb-10.2: configure.cxxflags-append -std=c++11 # plus `port bump`
---------------------------+-----------------------
  Reporter:  vike2000      |      Owner:  michaelld
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.6.2
Resolution:                |   Keywords:  haspatch
      Port:  mariadb-10.2  |
---------------------------+-----------------------

Comment (by michaelld):

 MariaDB 10.2 core itself does not formally require C++11, but, as with
 many projects, we can build it using C++11 ... which can be advantageous
 such as for this issue.

 We need to change the Portfile, both to tell MP to use a C++ 2011
 compliant compiler as well as to set the `CMAKE_CXX_STANDARD` to 11 & then
 let CMake determine how to do that in the build (rather than changing a
 CXX variable such as suggested; this might work, but letting CMake do the
 work is more reliable).

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


More information about the macports-tickets mailing list