Created attachment 198527 [details] patch This port needs USES=compiler:c++11-lang to build on GCC architectures. Tested on powerpc64 and amd64. Hardware sponsored by IntegriCloud.
gnome-color-manager is mostly written in C. It has only one simple C++ source file. 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 Ting-Wei Lan from comment #1) Since it does have one c++ file, yes, I think c++11-lang will be necessary.
A commit references this bug: Author: linimon Date: Tue Nov 27 16:00:48 UTC 2018 New revision: 486015 URL: https://svnweb.freebsd.org/changeset/ports/486015 Log: Add USES=compiler:c++11-lang to build on GCC architectures. PR: 232586 Submitted by: Piotr Kubaj Approved by: portmgr (tier-2 blanket) Changes: head/graphics/gnome-color-manager/Makefile