Perl 5.6.1 is explicitly expeced in followin two places. insinto /usr/lib/perl5/site_perl/5.6.1/XML/DOM doins XML/DOM/Map.pm insinto /usr/lib/perl5/site_perl/5.6.1/XML doins XML/SGMLSpl.pm Does not wok with perl-5.8.0.
I don't own this ebuild and I'm not sure why this was assigned to me (maybe the last guys who touch it was me...). Anyway, talked with Michael Cummings on IRC and he provided me pointers on the code to retrieve the last installed perl site arch folder. The ebuild now make use of that inside the -r2 version.