I'm testing removing it completely in favour of the version shipped with qmake.
Fixed in git. https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36eaeaa70812ce7a48a5d3caa9dbca10de0798f6