From owner-freebsd-ports@FreeBSD.ORG Thu May 6 23:11:46 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EED83106566C for ; Thu, 6 May 2010 23:11:46 +0000 (UTC) (envelope-from john.marshall@riverwillow.com.au) Received: from mail1.riverwillow.net.au (mail1.riverwillow.net.au [203.58.93.36]) by mx1.freebsd.org (Postfix) with ESMTP id 6E1F58FC20 for ; Thu, 6 May 2010 23:11:46 +0000 (UTC) Received: from rwpc12.mby.riverwillow.net.au (rwpc12.mby.riverwillow.net.au [172.25.24.168]) (authenticated bits=0) by mail1.riverwillow.net.au (8.14.4/8.14.4) with ESMTP id o46NBYrn022263 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 7 May 2010 09:11:35 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=riverwillow.com.au; s=m1001; t=1273187495; bh=iCW1N5ZRpq8kOra9757gYwZ3mZ7m/I04XR++P0NVrug=; h=Date:From:To:Cc:Subject:Message-ID:References:Mime-Version: Content-Type:In-Reply-To; b=MizP+0X4t7NvJaGWNrNzcP0vpakaExooHoTjnJ/pJgCzyl8kuYrQ2jVos6+afRTwi DcguOXEzFj5a3G/Je5RPR4bP1hzKuN4AWt6uOQVqXa2LcwBEbd6lPb4QtieJUiUhIb UctDnJwKVx2oiDfD8i08ij3pGFXCCM8GswLweTfE= Received: from rwpc12.mby.riverwillow.net.au (localhost [127.0.0.1]) by rwpc12.mby.riverwillow.net.au (8.14.4/8.14.4) with ESMTP id o46NBYmJ023981; Fri, 7 May 2010 09:11:34 +1000 (AEST) (envelope-from john.marshall@riverwillow.com.au) Received: (from john@localhost) by rwpc12.mby.riverwillow.net.au (8.14.4/8.14.4/Submit) id o46NBXYG023980; Fri, 7 May 2010 09:11:33 +1000 (AEST) (envelope-from john) Date: Fri, 7 May 2010 09:11:33 +1000 From: John Marshall To: Doug Barton Message-ID: <20100506231133.GR1357@rwpc12.mby.riverwillow.net.au> Mail-Followup-To: Doug Barton , freebsd-ports@freebsd.org References: <20100506015854.GN1357@rwpc12.mby.riverwillow.net.au> <4BE25E26.8020003@dougbarton.us> <20100506113633.GQ1357@rwpc12.mby.riverwillow.net.au> <4BE30577.9000503@dougbarton.us> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="sLx0z+5FKKtIVDwd" Content-Disposition: inline In-Reply-To: <4BE30577.9000503@dougbarton.us> User-Agent: Mutt/1.4.2.3i OpenPGP: id=A29A84A2 Cc: freebsd-ports@freebsd.org Subject: Re: portmaster stopped finding dependent ports if non-standard PORTSDIR 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: Thu, 06 May 2010 23:11:47 -0000 --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--