From owner-freebsd-ports@FreeBSD.ORG Fri Nov 3 14:46:43 2006 Return-Path: X-Original-To: ports@FreeBSD.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 94C8216A4CA; Fri, 3 Nov 2006 14:46:43 +0000 (UTC) (envelope-from craig@yekse.gank.org) Received: from ion.gank.org (ion.gank.org [69.55.238.164]) by mx1.FreeBSD.org (Postfix) with ESMTP id 97BA443DB9; Fri, 3 Nov 2006 14:46:09 +0000 (GMT) (envelope-from craig@yekse.gank.org) Received: by ion.gank.org (Postfix, from userid 1001) id CFB84118D4; Fri, 3 Nov 2006 08:46:01 -0600 (CST) Date: Fri, 3 Nov 2006 08:46:01 -0600 From: Craig Boston To: Doug Barton Message-ID: <20061103144601.GB29299@nowhere> References: <2A1A6E935323B04BB28608B01B9B077A03190460@CHN-SNR-MBX01.wipro.com> <6306EDB7C88085BEB4DBC265@utd59514.utdallas.edu> <454A3607.2030406@FreeBSD.org> <20061103052032.GB87797@nowhere> <20061103052316.GC87797@nowhere> <454AEA41.6010309@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <454AEA41.6010309@FreeBSD.org> User-Agent: Mutt/1.4.2.1i Cc: ports@FreeBSD.org Subject: Re: make search (Was Re: Perl5.8.7 ports) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Nov 2006 14:46:43 -0000 On Thu, Nov 02, 2006 at 11:05:37PM -0800, Doug Barton wrote: > >Seems make search doesn't like the following line in my /etc/make.conf > > > >PORTSDIR=/compile/ports > > > >I thought PORTSDIR was required to be set if your ports were in a > >nonstandard location, if you wanted everything to work correctly? > > I put just about everything in /usr/local (src, obj, ports, etc.) and > found out long ago that putting symlinks in /usr/ is infinitely easier > than trying to make it work with custom variables. I usually do the same, except if I have room I'll create a /compile partition and symlink src, obj, ports into it. Got bitten by a crash during a build before and had parts of /usr get trashed (probably due to ATA write cache). I figure having it as physically separate as I can get it improves the odds slightly. I added the PORTSDIR variable a while back, I'm not 100% sure why. I vaguely recall a problem with a particular port not installing correctly if /usr/ports was a symlink, but it worked fine if you had PORTSDIR set. I'm not sure if it happened to me or if I just read about it on the list, however. Craig