When building databases/mysql-connector-c++ with installed mysql57-client-5.7.15 got more than 20 errors like In file included from /usr/local/include/boost/config/no_tr1/memory.hpp:21: /usr/include/c++/v1/memory:2595:13: error: expected ')' static_assert(!is_pointer<deleter_type>::value, ^ ... In file included from /usr/include/c++/v1/__locale:15: /usr/include/c++/v1/string:1263:5: error: expected ')' static_assert((is_same<typename allocator_type::value_type, value_type>::value), ^ ... /usr/include/c++/v1/string:1261:5: error: expected ')' static_assert((is_same<_CharT, value_type>::value), ^ Workaround for me is to add CMAKE_ENABLE_C++11=ON to CMAKE_ARGS option in port Makefile like: - CMAKE_ARGS= -DDOC_DESTINATION="${DOCSDIR}" + CMAKE_ARGS= -DDOC_DESTINATION="${DOCSDIR}" -DCMAKE_ENABLE_C++11=ON after that builds and seems to works fine. Found on fresh ports tree and: FreeBSD 11.0 latest on STABLE FreeBSD 12.0-CURRENT #0 r306907 With mysql56-client this port build and works fine without any intrusion.
For the time being I will await till mysql57-* ports are back to normal. Currently those are marked to ignore.
A commit references this bug: Author: bofh Date: Sun Oct 16 13:30:57 UTC 2016 New revision: 424061 URL: https://svnweb.freebsd.org/changeset/ports/424061 Log: databases/mysql-conector-c++: Fix build in 11.0 and later [1] - Make patches makepatch compatible PR: 213346 [1] Submitted by: supportme@ukr.net [1] Changes: head/databases/mysql-connector-c++/Makefile head/databases/mysql-connector-c++/files/patch-driver_mysql__resultbind.cpp head/databases/mysql-connector-c++/files/patch-driver_mysql__util.cpp head/databases/mysql-connector-c++/files/patch-optional-json
Committed with minor changes.