Perl-Tk fails if Perforce binaries are installed because it tries to "edit" (check out) the file before applying the patch. This is the same problem as http://bugs.gentoo.org/show_bug.cgi?id=40342 That bug has been closed however but the problem still exists. A simple workaround is to set the PATCH_GET environment variable to 0 before running the emerge command, ie: PATCH_GET=0 emerge perl-tk This behavior is documented in the `patch` man page, look under the -g option.
Can this variable be set with the ebuild itself? Without reprecussions for non-perforce users of course :)
No response in 4 months