Created attachment 198461 [details] patch Add USES=compiler:c++11-lang to fix build with GCC architectures. Tested on powerpc64 and amd64. Hardware sponsored by IntegriCloud.
As I’ve mentioned before adding compiler:c* breaks mips and also adds unneeded dep in gcc when not needed. You need to target only the arch’s that need the compiler instead of adding unnecessary deps and break archs that can’t use gcc
(In reply to Nathan from comment #1) This port fail without C++11: https://talos.anongoth.pl/data/powerpc64-default/2018-10-21_19h31m54s/logs/errors/bctoolbox-0.6.0.log
(In reply to Piotr Kubaj from comment #2) You can still target ones that need it and not all. I showed you how in previous bugs you’ve reported
(In reply to Nathan from comment #3) Do you think C++11 is used only by some architectures? This is NOT a compiler bug that makes only some architectures fail, this is a lack of functionality that also exists on other architectures: (00:03:46) CMake Error in src/CMakeLists.txt: (00:03:46) Target "bctoolbox" requires the language dialect "CXX11" (with compiler (00:03:46) extensions), but CMake does not know the compile flags to use to enable it.
A commit references this bug: Author: tijl Date: Mon Oct 22 19:23:54 UTC 2018 New revision: 482777 URL: https://svnweb.freebsd.org/changeset/ports/482777 Log: Add USES=compiler:c++11-lib to Linphone ports. PR: 232526 Submitted by: pkubaj@anongoth.pl Changes: head/deskutils/belcard/Makefile head/multimedia/mswebrtc/Makefile head/net/bctoolbox/Makefile head/net/liblinphone/Makefile head/net/linphone/Makefile head/textproc/belr/Makefile