[46122] trunk/dports/databases

Ryan Schmidt ryandesign at macports.org
Sun Feb 1 15:38:29 PST 2009


On Feb 1, 2009, at 17:01, Joshua Root wrote:

> Ryan Schmidt wrote:
>
>> On Jan 29, 2009, at 17:53, dweber at macports.org wrote:
>>
>>> Revision: 46122
>>>           http://trac.macports.org/changeset/46122
>>> Author:   dweber at macports.org
>>> Date:     2009-01-29 15:53:05 -0800 (Thu, 29 Jan 2009)
>>> Log Message:
>>> -----------
>>> New port for prior version of libpqxx 2.6.9
>>>
>>> Added Paths:
>>> -----------
>>>     trunk/dports/databases/libpqxx26/
>>>     trunk/dports/databases/libpqxx26/Portfile
>>
>> [snip]
>>
>>> +depends_lib     port:pkgconfig \
>>> +                port:${server}
>>
>> Does this work? I don't think variables are expanded here.
>
> It's only prefix that isn't expanded,

Oh, I didn't know that.

> and then only in the PortIndex.
> Other variables will be expanded, but their expanded values in the  
> index
> will reflect the setup of the system where the index was generated
> rather than the system at the time of use.

Ow. That's almost worse than not expanding (because it might sort of  
give the impression of working, for now). I mean for example if you  
want to use ${x11prefix} in a depspec, then that will break for users  
of Tiger and earlier the instant we upgrade the portindex machine to  
Leopard or later since x11prefix will change to something that  
doesn't exist on Tiger and earlier...




More information about the macports-dev mailing list