Using a different WORK folder for ports
Mike Meyer
mwm-dated-1050091979.31a945 at mired.org
Sun Apr 6 13:13:01 PDT 2003
In <004001c2fc77$036a4880$e203a8c0 at macedon>, Bigbrother <bigbrother at bonbon.net> typed:
> 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)
Set WRKDIRPREFIX in /etc/make.conf. See the ports(7) man page for more
information.
<mike
--
Mike Meyer <mwm at mired.org> http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.
More information about the freebsd-questions
mailing list