From owner-freebsd-questions@FreeBSD.ORG Fri May 20 14:08:09 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7EF4616A4CE for ; Fri, 20 May 2005 14:08:09 +0000 (GMT) Received: from mta05-winn.mailhost.ntl.com (smtpout15.mailhost.ntl.com [212.250.162.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 88D0143D9B for ; Fri, 20 May 2005 14:08:08 +0000 (GMT) (envelope-from richard.danter@ntlworld.com) Received: from aamta01-winn.mailhost.ntl.com ([212.250.162.8]) by mta05-winn.mailhost.ntl.com with ESMTP <20050520140807.YXIW23015.mta05-winn.mailhost.ntl.com@aamta01-winn.mailhost.ntl.com>; Fri, 20 May 2005 15:08:07 +0100 Received: from [192.168.1.10] (really [82.4.184.52]) by aamta01-winn.mailhost.ntl.com with ESMTP <20050520140807.UTMD242.aamta01-winn.mailhost.ntl.com@[192.168.1.10]>; Fri, 20 May 2005 15:08:07 +0100 Message-ID: <428DEF44.3020001@ntlworld.com> Date: Fri, 20 May 2005 15:08:04 +0100 From: Richard Danter User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050405) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Erik Trulsson References: <428CC15A.8030600@ntlworld.com> <20050519165710.GA25173@falcon.midgard.homeip.net> <428CC925.1090201@ntlworld.com> <20050519200752.GA26869@falcon.midgard.homeip.net> In-Reply-To: <20050519200752.GA26869@falcon.midgard.homeip.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: Shared /usr/ports directories X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 May 2005 14:08:09 -0000 Erik Trulsson wrote: > On Thu, May 19, 2005 at 06:13:09PM +0100, Richard Danter wrote: > >>Erik Trulsson wrote: >> >>>On Thu, May 19, 2005 at 05:39:54PM +0100, Richard Danter wrote: >>> >>> >>>>Hi all, >>>> >>>>I have several machines running FBSD now. At the moment I have a >>>>complete ports tree on each machine. I was wondering if it was possible >>>>to have it all on just one machine and NFS mount it? >>> >>> >>>That is certainly possible. >>> >>> >>> >>>>I have already been doing this for the /usr/ports/distfiles directory, >>>>but had not shared everything else as I was not sure if settings from a >>>>build on one machine may cause problems when building on another machine. >>>> >>>>Each machine has it's own /etc/make.conf with settings such as the >>>>processor type, so it is important that one build can't effect another. >>> >>> >>>I would suggest you set WRKDIRPREFIX in /etc/make.conf so that the >>>files built by the ports system do not get placed under /usr/ports but >>>somewhere else. >> >>Is it just the object (.o) files that this effects, or all generated >>files? Where do the configurations get saved (for those ports with a >>config menu)? > > > Almost all generated files - all that would end up under /usr/ports anyway. > > Where configurations get saved can vary slightly. Ports using the > OPTIONS system get their configurations saved under /var/db/ports/. > Some ports have their own home-rolled config menu (mostly because the > port was created before OPTIONS made its debut) and they usually have > their configuration saved in the work directory (among all the .o > files.) Thanks Erik, and all who replied. I now have just one ports tree to keep up to date which is much easier for me! It also frees up a lot of space on my laptop! Rich