svn commit: r322734 - in head: audio/pure-audio databases/pure-sql3 devel/pure-gen devel/pure-readline devel/pure-stldict devel/pure-stlvec graphics/pure-gl math/pure-mpfr math/pure-rational net/pu...

Bryan Drewery bdrewery at FreeBSD.org
Thu Jul 11 16:06:09 UTC 2013


On 7/11/2013 11:03 AM, Boris Samorodov wrote:
> Hi All,
> 
> 11.07.2013 01:28, Baptiste Daroussin пишет:
>>
>> Log:
>>   Fix PORTSDIR not already defined by using relative path
> [...]
>> -.include "${PORTSDIR}/lang/pure/bsd.pure.mk"
>> +.include "${.CURDIR}/../../lang/pure/bsd.pure.mk"
> 
> Can someone explain the rationale for this change?
> 
> I'd say that ${PORTSDIR} _should_ work because all dependencies
> are registered via ${PORTSDIR}. And I like the former more because
> one may copy and play with a port at any directory without populating
> (a part of) the portstree.
> 
> Thanks!
> 

PORTSDIR is not defined _by default_ until bsd.port.mk is included on
the next line. So yes, using PORTSDIR is proper in dependencies, etc,
but when including the variable is not yet set.

-- 
Regards,
Bryan Drewery

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 898 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20130711/bef6d10f/attachment.sig>


More information about the svn-ports-all mailing list