Subject: Re: pkgsrc and distcc
To: Jukka Salmi <>
From: Roland Illig <>
List: tech-pkg
Date: 05/25/2005 20:55:20
Jukka Salmi wrote:
> Hi,
> is distcc supposed to work with pkgsrc? I just installed devel/distcc on
> three NetBSD/i386 hosts, two of which run 2.0_STABLE, one runs -current;
> all of them use the gcc from the base system (3.3.3 nb3 20040520).
> The -current system (which is the build host) has the following settings in
> /etc/mk.conf:
> 	PKGSRC_COMPILER  = distcc gcc
> 	DISTCC_HOSTS     = localhost host1 host2
> 	MAKEFLAGS       += -j6

You could try MAKE_FLAGS+=-j6 instead of MAKEFLAGS.

MAKE_FLAGS affects the ${MAKE_PROGRAM}, which is used to build, test and 
install packages.

MAKEFLAGS affects the ${MAKE} calls inside the pkgsrc infrastructure.