From: Doug Barton on
On 08/07/2010 21:18, Andres Perera wrote:
> On Fri, Aug 6, 2010 at 7:04 PM, Doug Barton <dougb(a)freebsd.org> wrote:
>> On 08/06/2010 16:01, Andres Perera wrote:
>>> On Fri, Aug 6, 2010 at 5:41 PM, Doug Barton <dougb(a)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

_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"