Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Apr 2003 15:12:58 -0500
From:      Mike Meyer <mwm-dated-1050091979.31a945@mired.org>
To:        "Bigbrother" <bigbrother@bonbon.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Using a different WORK folder for ports
Message-ID:  <16016.35402.644067.99567@guru.mired.org>
In-Reply-To: <004001c2fc77$036a4880$e203a8c0@macedon>
References:  <20030406190043.6021E37B405@hub.freebsd.org> <004001c2fc77$036a4880$e203a8c0@macedon>

next in thread | previous in thread | raw e-mail | index | archive | help
In <004001c2fc77$036a4880$e203a8c0@macedon>, Bigbrother <bigbrother@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@mired.org>		http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?16016.35402.644067.99567>