Created attachment 198496 [details]
GCC architectures require USES=compiler:c++11-lang to build this port.
While here, add USES=gnome.
Tested on powerpc64 and amd64.
Hardware sponsored by IntegriCloud.
upower 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.
A commit references this bug:
Date: Sat Nov 24 07:15:57 UTC 2018
New revision: 485727
Add compiler:c11 to USES to fix build with GCC-based architectures.
Submitted by: Piotr Kubaj
Reviewed by: Ting-Wei Lan
Approved by: portmgr (tier-2 blanket)