The current git ebuilds set PERL_PATH="${EPREFIX}/usr/bin/env perl" when invoking emake. Because of this, any git scripts that run perl will use whichever version of perl is found first in the user's PATH, rather than the system-installed version of perl. A couple of folks on the git mailing list think this is crazy and wrong and it should be a pathname, not a command - see <http://thread.gmane.org/gmane.comp.version-control.git/172973>. It also breaks git instaweb - see bug 351279 or bug 352693, and may also be breaking the test suite (see the above thread on the git mailing list). The original "fix" that set this PERL_PATH was for the somewhat obscure bug 326625. Was it really necessary to set PERL_PATH for this fix, or was it sufficient to clear PERL_MM_OPTS? Reproducible: Always
I've taken the discussion back to the list.
Reverted in 1.7.6.