Subject: Re: distcc && pkgsrc
To: None <netbsd-help@netbsd.org>
From: fab <fab@gnux.info>
List: netbsd-help
Date: 04/15/2004 13:12:21
On Thu, Apr 15, 2004 at 11:59:12AM +0200, fab wrote:
> I found a solution about the problem with pkgsrc when CC=distcc, before
> I got :
> ===> Required package gcc3-c>=3.3.3: NOT found
> 
> But I found a trick:
> install autoswc (which caches autoconf globally)
> then add to /etc/mk.conf :
> .sinclude "/usr/pkg/share/autoswc/autoswc.mk"
> 
> run autoswc...
> 
> then when compiling a package from pkgsrc, near everything is cached and
> informations were retrieved with CC=gcc , now even with CC=distcc it
> works very nicely :)
> 
> Hope it will help someone...

I forgot to mention one thing:
/etc/mk.conf :
PKGSRC_COMPILER=distcc gcc

There is no need to do CC=distcc and gcc isn't mentioned as NOT FOUND.

++ fab.