[113783] trunk/dports/science/uhd/Portfile

Joshua Root jmr at macports.org
Sat Nov 23 20:02:04 PST 2013


On 2013-11-24 14:44 , Michael Dickens wrote:
> On Sat, Nov 23, 2013, at 02:59 PM, Ryan Schmidt wrote:
>> On Nov 23, 2013, at 10:44, michaelld at macports.org wrote:
>>> +# set PKG_CONFIG_PATH to find libusb PC file
>>> +
>>> +configure.env-append PKG_CONFIG_PATH=${prefix}/lib/pkgconfig
>>> +
>>
>> That’s needed? But that’s the default isn’t it?
> 
> As it turns out: No, it is not the default. According to
> portconfigure.tcl:163, the default is {}.  I thought it was the default,
> too. That said, I should actually be setting:
> {{{
> configure.pkg_config_path ${prefix}/lib/pkgconfig
> }}}
> instead of what I did. - MLD

It is the default that is built into pkgconfig, which is why the
environment variable usually doesn't need to be set. You can check
yourself with 'pkg-config --debug'.

= Josh


More information about the macports-dev mailing list