From 729531f12e097f8bcbbe12d86bad169f27aa8aca Mon Sep 17 00:00:00 2001 From: MATSUU Takuto Date: Fri, 20 May 2011 12:20:58 -0700 Subject: Add FEATURES=distcc-pump support. This will fix bug #288597. --- bin/ebuild.sh | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'bin') 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 ..." -- cgit v1.2.3-1-g7c22