Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Sep 2010 22:42:07 -0500
From:      Scot Hetzel <swhetzel@gmail.com>
To:        "Klaus T. Aehlig" <aehlig-bsd@linta.de>
Cc:        Dmitry Pryanishnikov <lynx.ripe@gmail.com>, freebsd-ports@freebsd.org
Subject:   Re: Using portmaster with different PYTHON_VERSION
Message-ID:  <AANLkTikQrbPQu=HAC3Q8NHvVeCDdwfnS5M3OtQzbXXZE@mail.gmail.com>
In-Reply-To: <AANLkTikyjxxgkGiYOxtg%2Bn8i4cov-Jb-FJ8THS=3ZNT6@mail.gmail.com>
References:  <AANLkTi=EeLhd6H5v_oJz3FWuHKrY7P=Acv0jV=doq8jd@mail.gmail.com> <AANLkTin4BSdumezq-eUg=kkDT_MDtO%2BGS06YoCXDXft3@mail.gmail.com> <20100929072844.GG10381@curry.linta.de> <20100929075359.GH10381@curry.linta.de> <AANLkTikyjxxgkGiYOxtg%2Bn8i4cov-Jb-FJ8THS=3ZNT6@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Sep 29, 2010 at 10:40 PM, Scot Hetzel <swhetzel@gmail.com> wrote:
> On Wed, Sep 29, 2010 at 2:53 AM, Klaus T. Aehlig <aehlig-bsd@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTikQrbPQu=HAC3Q8NHvVeCDdwfnS5M3OtQzbXXZE>