Using a different WORK folder for ports

Rick Fournier rick at
Sun Apr 6 13:07:09 PDT 2003

On April 6, 2003 03:59 pm, Bigbrother wrote:
> Hi people,
> I want to NFS export read-only the ports tree /usr/ports to different
> fbsd machines. When the clients try to build a port, the compilation
> fails because they cannot write to the ports tree.
> Is there any hack that it could redirect the ./work folder of every port
> to be a local rw disk,
> like /usr/tmp/work ? Thus, patches and compilation would be redirected
> to a local hard disk. (This would increase also the compilation
> performance)

in your /etc/make.conf you can use:
WRKDIRPREFIX=   /usr/tmp/work

> Thankx in advance!!

Rick Fournier (rick at
PGP Key: 31846E22 (
Key Fingerprint: B1E3 AE2E C867 F491  BF9F 9485 7818 122D 3184 6E22

More information about the freebsd-questions mailing list