Normally USES=qt complains about unknown components in USE_QT with
a message like
===> $PKGNAME cannot be installed: unknown USE_QT component 'foobar'.
However this fails if the component has a suffix starting with _, e.g.,
USE_QT= buildtools_build,core
or even something as simple as
USE_QT= buildtools_buld
is silently accepted. Of course it doesn't do anything but it can
lead to some head scratching for porters and in the worst case wrong
or missing dependencies in ports.
The regular expression used to strip suffixes is overeager and
strips everything after a _, even invalid suffixes. To fix this
we can amend it to be very strict. AFAICT we only have to cases
_build and _run to cover here so we can explictly spell them
out.