Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Nov 2006 08:46:01 -0600
From:      Craig Boston <craig@yekse.gank.org>
To:        Doug Barton <dougb@FreeBSD.org>
Cc:        ports@FreeBSD.org
Subject:   Re: make search (Was Re: Perl5.8.7 ports)
Message-ID:  <20061103144601.GB29299@nowhere>
In-Reply-To: <454AEA41.6010309@FreeBSD.org>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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