I found on https://wiki.gentoo.org/wiki/Hprofile the usefull patch. I think, it should be added in package.
Created attachment 331276 [details]
I think that patch is specific to the use case listed on that wiki, it might not be generally applicable, but perhaps it may be possible to generalize the patch to support multiple profiles for anything rather than just power and gpu.
Well, it's hardly worse especially if it removes the usage of /usr/local.
the hprofile script shipped by the ebuild has always used /usr paths and not /usr/local, so no idea what this patch is about