<div dir="ltr">Ok, I think I see what is going on here: apparently "port installed depends:XXX" returns all ports depending on port XXX -- OR a port that contains the string XXX. This seems like a bug, and gives very misleading information.<div>
* "gcr" appears to depend on itself because it depends on "libgcrypt".</div><div>* "gtk3" appears to depend on "gconf" because it depends on "pkgconfig".</div><div>* If I write "port installed depends:a" (despite there being no port called "a") I get 8636 ports returned.</div>
<div>* The list returned from "port installed depends:libxc" includes the dependencies not only of "libxc" but also of the entirely unrelated "xorg-libxcb", "xorg-libXcomposite", and "xorg-libXcursor".<br>
<div><br></div><div>David </div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Apr 7, 2014 at 6:01 PM, David Strubbe <span dir="ltr"><<a href="mailto:dstrubbe@gmail.com" target="_blank">dstrubbe@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Indeed, evidently "depends:" does some strange things which "depof:" does not.<div><br>
</div><div>Though "man port" does not define "depends:", it is recommended here: <a href="https://guide.macports.org/#using.common-tasks.finddepending" target="_blank">https://guide.macports.org/#using.common-tasks.finddepending</a></div>
<div>By contrast, "depof:" does not seem to appear in the guide.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>David</div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra">
<br><br><div class="gmail_quote">On Mon, Apr 7, 2014 at 2:46 PM, Eric Gallager <span dir="ltr"><<a href="mailto:egall@gwmail.gwu.edu" target="_blank">egall@gwmail.gwu.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I was under the impression that the "depends:" pseudo-portname and the "depof:" portname were two separate things...<div>
<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div>
On Mon, Apr 7, 2014 at 2:19 PM, David Strubbe <span dir="ltr"><<a href="mailto:dstrubbe@gmail.com" target="_blank">dstrubbe@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div>
<div dir="ltr">Hm, I guess I got "depends:" from suggestions in messages on this list. Using "port installed depof:gcr" gcr is not listed, so that is more reasonable. "depof:gtk3" does not list gconf, and "depof:gconf" does list gtk3. So it seems that "depends:" is buggy. Maybe it should be removed if it has been supplanted by "depof:".<span><font color="#888888"><div>
<br></div><div>David</div></font></span></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Apr 7, 2014 at 2:03 PM, Bradley Giesbrecht <span dir="ltr"><<a href="mailto:pixilla@macports.org" target="_blank">pixilla@macports.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>On Apr 7, 2014, at 9:12 AM, David Strubbe <<a href="mailto:dstrubbe@gmail.com" target="_blank">dstrubbe@gmail.com</a>> wrote:<br>
> Hi all,<br>
><br>
> I found two strange things in using 'port installed depends:'. The 'gcr' port appears to depend on itself, and gconf and gtk3 appear to depend on each other. Does this make sense? Is it a bug in base or the Portfiles?<br>
<br>
</div>I don't know if "depends:" is a bug but it is not documented in "man port" whereas "depof:" is:<br>
port installed depof:gcr<br>
<br>
<br>
Regards,<br>
Bradley Giesbrecht (pixilla)<br>
<br>
</blockquote></div><br></div>
</div></div><br></div></div>_______________________________________________<br>
macports-dev mailing list<br>
<a href="mailto:macports-dev@lists.macosforge.org" target="_blank">macports-dev@lists.macosforge.org</a><br>
<a href="https://lists.macosforge.org/mailman/listinfo/macports-dev" target="_blank">https://lists.macosforge.org/mailman/listinfo/macports-dev</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>