diff -ur '--exclude=CVS' '--exclude=Manifest' '--exclude=.git' '--exclude=.wh..' /usr/portage/eclass/perl-app.eclass portage/eclass/perl-app.eclass --- portage/eclass/perl-app.eclass 2011-12-27 12:55:12.000000000 -0500 +++ portage/eclass/perl-app.eclass 2012-09-28 14:32:34.000000000 -0400 @@ -5,6 +5,7 @@ # Author: Michael Cummings # Maintained by the Perl herd +GENTOO_DEPEND_ON_PERL_SUBSLOT="no" inherit perl-module case "${EAPI:-0}" in diff -ur '--exclude=CVS' '--exclude=Manifest' '--exclude=.git' '--exclude=.wh..' /usr/portage/eclass/perl-module.eclass portage/eclass/perl-module.eclass --- portage/eclass/perl-module.eclass 2012-09-27 12:35:41.000000000 -0400 +++ portage/eclass/perl-module.eclass 2012-09-28 14:32:34.000000000 -0400 @@ -27,10 +27,24 @@ PERL_EXPF+=" pkg_postinst pkg_postrm" case "${GENTOO_DEPEND_ON_PERL:-yes}" in - yes) + yes) + case "${EAPI:-0}" in + 5) + case "${GENTOO_DEPEND_ON_PERL_SUBSLOT:-yes}" in + yes) + DEPEND="dev-lang/perl:=[-build]" + ;; + *) + DEPEND="dev-lang/perl[-build]" + ;; + esac + ;; + *) DEPEND="dev-lang/perl[-build]" - RDEPEND="${DEPEND}" ;; + esac + RDEPEND="${DEPEND}" + ;; esac ;; *) diff -ur '--exclude=CVS' '--exclude=Manifest' '--exclude=.git' '--exclude=.wh..' /usr/portage/eclass/xorg-2.eclass portage/eclass/xorg-2.eclass