This is a new ebuild... Makes bug 23006 obsolete (but doesn't solve the problems mentioned http://lists. samba.org/pipermail/distcc/2003q2/001181.html therein and - its up to distcc to solve them, not me :)). Patch goes in ${FILESDIR} New in 2.7.1: o "This is just a portability fix, to allow building the monitor program with GTK+ only and on BSD or Cygwin." - Martin Pool (distcc dev) o Patch by me to fix the tempfile.c file (see bug 23006) to work with Portage. It ain't pretty, but the burden rests on the shoulders of distcc dev team. As a result of this fix there's an envvar, $DISTCC_TMPDIR, that users can use to point the temporary files elsewhere. Distcc will default to /tmp if that var is empty
Created attachment 13872 [details] Ebuild for distcc - distcc-2.7.1.ebuld
Created attachment 13873 [details] Fix for tempfile.c 001_fix_tmpdir.patch.gz
Lemme just steal this for a bit.
There is a tiny problem with this ebuild; ideally, we'd like all patching to be done in the src_unpack() function, as sometimes, when users tweak their sources during installation, they want to run ebuild foo.ebuild compile multiple times without reunpacking. Could you move the patching part into src_unpack()?
Created attachment 14066 [details] distcc-2.7.1.ebuild - satisifes karl's comments bigger comment about the patch; moved patching to src_unpack
Committed. Available for testing.