Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 07 Aug 2010 21:49:01 -0700
From:      Doug Barton <dougb@FreeBSD.org>
To:        849372@gmail.com
Cc:        ports@freebsd.org, Andres Perera <andres.perera@zoho.com>
Subject:   Re: portmaster and environ from pkg_install tools
Message-ID:  <4C5E373D.5060108@FreeBSD.org>
In-Reply-To: <AANLkTi=ba0vs7YmWwH%2BX2p5UVh-BRSOty_8kS-1fBAWF@mail.gmail.com>
References:  <AANLkTinwe%2B_NBwLzHHuKbd0d=UeCSzPwjY_Tzhzry=kP@mail.gmail.com>	<4C5C9C1B.5080804@FreeBSD.org> <AANLkTi=ba0vs7YmWwH%2BX2p5UVh-BRSOty_8kS-1fBAWF@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 08/07/2010 21:18, Andres Perera wrote:
> On Fri, Aug 6, 2010 at 7:04 PM, Doug Barton <dougb@freebsd.org> wrote:
>> On 08/06/2010 16:01, Andres Perera wrote:
>>> On Fri, Aug 6, 2010 at 5:41 PM, Doug Barton <dougb@freebsd.org> wrote:
>>>> On 08/06/2010 15:03, Adam Vande More wrote:
>>>>
>>>>> While your in the mood for for taking portmaster suggestions,
>>>>
>>>> I am always in the mood for taking suggestions. :)
>>>>
>>>
>>> On that note, I suggest that portmaster should fallback on PKG_PATH,
>>> which is explained in pkg_add(1), if LOCAL_PACKAGEDIR isn't defined.
>>
>> It uses PACKAGES if LOCAL_PACKAGEDIR is not defined, which is a
>> throwback to the days before package installation support because it
>> uses that location for other things too.
>>
> 
> The problem is that PM_PACKAGES_LOCAL requires LOCAL_PACKAGEDIR regardless.

Right, that was by design. My theory at the time was that installing
from a local package repository was going to be sufficiently unusual
that needing to take the extra step of either using --local-packagedir
on the command line, or configuring it in an rc file seemed reasonable.

> That inconsistency aside, PACKAGES definately makes more sense now.

Now I think I understand your question better. Yours is the first
question about this, but I've made a note about the issue in case it
comes up again.


Doug

-- 

	Improve the effectiveness of your Internet presence with
	a domain name makeover!    http://SupersetSolutions.com/

	Computers are useless. They can only give you answers.
			-- Pablo Picasso




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