Created attachment 197452 [details] patch Similar to other Qt5 ports. Tested on powerpc64 and amd64. Hardware sponsored by IntegriCloud.
It also adds USES=libtool, which is necessary.
This has been committed in r482034.