Created attachment 198517 [details] patch GCC architectures need USES=compiler:c++11-lang to build this port. Tested on powerpc64 and amd64. Hardware sponsored by IntegriCloud.
libdazzle is written in C, so it is odd for it to require C++11. Did you mean c11 instead?
There are not many ports that use C11, so I actually meant C++11. That said, it doesn't really matter from the perspective of ports infrastructure. Clang in all releases supports both C++11 and C11, GCC 4.2 supports neither C++11 nor C11 :) If you feel that it's better to put C11, it's not a problem since both will work the same.
(In reply to Piotr Kubaj from comment #2) It is correct that there are more programs using C++11 than C11, but it doesn't mean there is no programs using C11. meson.build file of libdazzle has c_std=gnu11 and I think it suggests it does need C11.
(In reply to Ting-Wei Lan from comment #3) Hm, now that I see, it seems that the description in #1 is wrong and the patch is ok (contains C11). Sorry, there's so many of such ports with missing compiler:c++11-lang entry, that I just got used to it.
A commit references this bug: Author: linimon Date: Sat Nov 24 07:20:56 UTC 2018 New revision: 485728 URL: https://svnweb.freebsd.org/changeset/ports/485728 Log: Add compiler:c11 to USES to fix build with GCC-based architectures. PR: 232577 Submitted by: Piotr Kubaj Reviewed by: Ting-Wei Lan Approved by: portmgr (tier-2 blanket) Changes: head/x11-toolkits/libdazzle/Makefile