Using portmaster with different PYTHON_VERSION

Scot Hetzel swhetzel at gmail.com
Thu Sep 30 03:42:09 UTC 2010


On Wed, Sep 29, 2010 at 10:40 PM, Scot Hetzel <swhetzel at gmail.com> wrote:
> On Wed, Sep 29, 2010 at 2:53 AM, Klaus T. Aehlig <aehlig-bsd at linta.de> wrote:
>>
>> Hi everybody,
>>
>> sorry for the noise.
>>
>>> > MASTERDIR= ${.CURDIR}/../py-httplib2
>>>
>>> shouldn't that be
>>>
>>> MASTERDIR=${PORTSDIR}/www/py-httplib2
>>>
>>> Or have I misunderstood something here?
>>
>> I obviously did. At least the example in porters' handbook and
>> all slave ports use ${.CURDIR}/../ Could some help me improve
>> my understanding and explain why it is preferable to refer to the
>> location of the current port in the file system rathen than to a
>> particular port in the ports tree?
>>
> Using this Makefile:
>
> #
>
> .include "${PORTSDIR}/www/py-httplib2
>
> will cause make to try to access the www/py-httplib2 directory in the
> current directory.
>
small correction, it will try to access /www/py-httplib2 directory

Scot


More information about the freebsd-ports mailing list