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, [email protected] wrote:
>> 
>>> Revision: 73697
>>>        http://trac.macports.org/changeset/73697
>>> Author:   [email protected]
>>> 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.


_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev

Reply via email to