[73697] trunk/dports/irc

Ryan Schmidt ryandesign at macports.org
Sat Dec 4 10:18:41 PST 2010


On Dec 4, 2010, at 12:10, Michael Feiri wrote:

> Am 22.11.2010 um 08:41 schrieb Ryan Schmidt:
> 
>> On Nov 21, 2010, at 18:45, mfeiri at macports.org wrote:
>> 
>>> Revision: 73697
>>>        http://trac.macports.org/changeset/73697
>>> Author:   mfeiri at macports.org
>>> Date:     2010-11-21 16:45:04 -0800 (Sun, 21 Nov 2010)
>>> Log Message:
>>> -----------
>>> irc/znc: new port
>> 
>> 
>>> +depends_lib         port:pkgconfig port:c-ares port:openssl port:tcl \
>>> +                    port:perl5 port:swig-perl
>> 
>> pkgconfig is generally a build dependency, unless there is a specific reason znc needs pkgconfig at runtime?
> 
> Thanks, didnt know that. Fixed in r74076.

What I meant was, ports usually only need pkgconfig to build themselves. They don't need pkgconfig at runtime, after they've been built. Therefore, pkgconfig should be in the depends_build section, not the depends_lib section. In r74076 you removed the pkgconfig dependency entirely, but if znc does require pkgconfig at build time, then you should put "depends_build port:pkgconfig" in the port.




More information about the macports-dev mailing list