portmaster and environ from pkg_install tools (was: i keep *trying* to move from portupgrade to portmaster)

Andres Perera andres.perera at zoho.com
Sun Aug 8 04:19:01 UTC 2010


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

That inconsistency aside, PACKAGES definately makes more sense now.

Andres


More information about the freebsd-ports mailing list