Date: Fri, 7 May 2010 09:11:33 +1000 From: John Marshall <john.marshall@riverwillow.com.au> To: Doug Barton <dougb@dougbarton.us> Cc: freebsd-ports@freebsd.org Subject: Re: portmaster stopped finding dependent ports if non-standard PORTSDIR Message-ID: <20100506231133.GR1357@rwpc12.mby.riverwillow.net.au> In-Reply-To: <4BE30577.9000503@dougbarton.us> References: <20100506015854.GN1357@rwpc12.mby.riverwillow.net.au> <4BE25E26.8020003@dougbarton.us> <20100506113633.GQ1357@rwpc12.mby.riverwillow.net.au> <4BE30577.9000503@dougbarton.us>
next in thread | previous in thread | raw e-mail | index | archive | help
--sLx0z+5FKKtIVDwd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, 06 May 2010, 11:07 -0700, Doug Barton wrote: > On 05/06/10 04:36, John Marshall wrote: > >=20 > > No, but (as shown in my OP) /usr/ports is a softlink to /build/ports. >=20 > Yeah, don't do this. :) If you already have the link you don't need to > set PORTSDIR (and in fact you shouldn't, it will create more problems > than it solves, as you've seen). I haven't had my ports tree actually in > /usr/ for years, but there is a link to the actual location which works > just fine for all purposes. OK, portmaster 2.25 works fine if I delete the /usr/ports symbolic link and retain the PORTSDIR definition in make.conf. portmaster also works fine if I remove the PORTSDIR definition from make.conf and re-create the /usr/ports symbolic link. For the record, the recent portmaster revision is the ONLY thing that has choked on having both the symbolic link and the PORTSDIR definition. Some years ago when I started building systems with the ports tree not in /usr, I understood that the "right thing to do" was to point PORTSDIR at that non-standard location. However, I kept trippping over things that didn't honour the PORTSDIR definition or required their own special tweaking (think pkg_version and friends, portconf, portsnap...); so I gave up and created a /usr/ports symbolic link to point to the real ports tree. For the sake of consistency, I'll go through and pull the PORTSDIR definition from all my systems. Thank you. --=20 John Marshall --sLx0z+5FKKtIVDwd Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkvjTKUACgkQw/tAaKKahKJNzwCgkL2Gu2FGZRAxaemfRk1d/a6Q Ip0An2Z5W7gvWrRs9f3YUvpNSCZb+Cxn =4N6o -----END PGP SIGNATURE----- --sLx0z+5FKKtIVDwd--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100506231133.GR1357>