Ports with distcc

Jacob S. Barrett jbarrett at amduat.net
Wed Mar 31 19:51:55 PST 2004


Has anyone really looked into the feasibility of adding distcc support to the 
ports system?  I realize that not all ports support concurrent make, but 
those that do could potentially take advantage of it.  What I propose is a 
flag in the port Makefile, SUPPORTS_MAKE_CONCURRENCY.  Then users could add 
WITH_MAKE_CONCURRENCY to make.conf to build ports that support it with make 
concurrency.  Then an additional WITH_DISTCC flag in make.conf to use distcc 
when making with concurrency.

I made a minor change to bsd.ports.mk to do this and it seems to work pretty 
well.  Here is my patch to bsd.ports.mk.  What do you guys think?

-- 
Jacob S. Barrett
jbarrett at amduat.net
www.amduat.net

"I don't suffer from insanity, I enjoy every minute of it."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bsd.port.mk.distcc.patch
Type: text/x-diff
Size: 1521 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20040331/235119ec/bsd.port.mk.distcc.bin


More information about the freebsd-ports mailing list