settings PORTSDIR with symlinked /usr/ports

Stijn Hoop stijn at win.tue.nl
Tue Jun 28 12:59:19 GMT 2005


On Tue, Jun 28, 2005 at 02:35:31PM +0200, Thierry Herbelot wrote:
> Le Tuesday 28 June 2005 13:37, Jose M Rodriguez a écrit :
> > El Martes, 28 de Junio de 2005 12:36, Thierry Herbelot escribió:
> > > I have here a R/O shared ports tree, under the /files2 mount point. A
> > > symbolic link points from /usr/ports to /files2/ports
> >
> > This is not enough.  You must define PORTSDIR.
> 
> This is indeed a work-around, but this is the first port where I saw this
> kind of problem (and I have some *hundreds* of ports which build correctly
> without setting PORTSDIR).

Discussions in the past have led to the same conclusion: if you
symlink /usr/ports, you need to set PORTSDIR to the new location.  See
also Message-ID: <4034C24E.60709 at portaone.com> to freebsd-ports of 19
feb 2004, and a thread before that in which I did not participate and
therefore have no record of right now.

--Stijn

-- 
A "No" uttered from deepest conviction is better and greater than a
"Yes" merely uttered to please, or what is worse, to avoid trouble.
		-- Mahatma Ghandi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20050628/873eebd8/attachment-0001.bin


More information about the freebsd-ports mailing list