diff options
author | MATSUU Takuto <matsuu@gentoo.org> | 2011-05-20 12:20:58 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2011-05-20 12:20:58 -0700 |
commit | 729531f12e097f8bcbbe12d86bad169f27aa8aca (patch) | |
tree | 1ea97625949b4d6c4c4fe83d35d0a0da9c08fc0b /bin/ebuild.sh | |
parent | bd479b8600af2b972969784f19fe124ff528b6f8 (diff) | |
download | portage-729531f12e097f8bcbbe12d86bad169f27aa8aca.tar.gz portage-729531f12e097f8bcbbe12d86bad169f27aa8aca.tar.bz2 portage-729531f12e097f8bcbbe12d86bad169f27aa8aca.zip |
Add FEATURES=distcc-pump support.
This will fix bug #288597.
Diffstat (limited to 'bin/ebuild.sh')
-rwxr-xr-x | bin/ebuild.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh index c3cf18164..37a308481 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -1071,6 +1071,13 @@ dyn_compile() { trap abort_compile SIGINT SIGQUIT + if hasq distcc $FEATURES && hasq distcc-pump $FEATURES ; then + if [[ -z $INCLUDE_SERVER_PORT ]] || [[ ! -w $INCLUDE_SERVER_PORT ]] ; then + eval $(/usr/bin/pump --startup) + trap "/usr/bin/pump --shutdown" EXIT + fi + fi + ebuild_phase pre_src_compile vecho ">>> Compiling source in $PWD ..." |