As per summary, and check the blocked bug for details. Thanks!
I guess it's about media-gfx/graphicsmagick (instead of media-gfx/graphics).
Looking at the debian package, passing --with-perl-options="INSTALLDIRS=vendor" to configure should fix it.
Done. Thanks.