Created attachment 198888 [details] patch This port needs USES=compiler:c++11-lang to build on GCC architectures. Tested on powerpc64 and amd64. Hardware sponsored by IntegriCloud.
Do you have the build log? It looks odd for a C project to require C++11.
(In reply to Ting-Wei Lan from comment #1) It turns out that our stanza for "c++11-lang" and "c11" do exactly the same thing. We have generally been testing against the former. However, I can re-test against the latter.
(In reply to Ting-Wei Lan from comment #1) It's just like Mark explained. USES=compiler:c11 and USES=compiler:c++11-lang do just the same, although for correctness sake you might want to put USES=compiler:c11.
(In reply to Piotr Kubaj from comment #3) The latest build shows that c11 is sufficient.
A commit references this bug: Author: linimon Date: Sat Nov 24 08:25:55 UTC 2018 New revision: 485729 URL: https://svnweb.freebsd.org/changeset/ports/485729 Log: Add USES=compiler:c11 to fix build on GCC-based architectures. PR: 232910 Submitted by: Piotr Kubaj Approved by: portmgr (tier-2 blanket) Changes: head/net/glib-networking/Makefile