<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Interesting.<div class=""><br class=""></div><div class="">So, how would you go about finding the ports on which what is <i class="">actually</i> installed depends?</div><div class=""><br class=""></div><div class="">E.g.: if I have dovecot+solr8 installed, how would I find out which ports dovecot truly depends on on my system?</div><div class=""><br class=""><div class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div><div class="">Gerben Wierda (<a href="https://www.linkedin.com/in/gerbenwierda" class="">LinkedIn</a>)</div><div class=""><a href="https://ea.rna.nl/" class="">R&A IT Strategy</a> (main site)<br class="">Book: <a href="https://ea.rna.nl/the-book/" class="">Chess and the Art of Enterprise Architecture</a><br class="">Book: <a href="https://ea.rna.nl/the-book-edition-iii/" class="">Mastering ArchiMate</a><br class=""></div></div></div></div></div></div></div></div></div>
</div>
<div><br class=""><blockquote type="cite" class=""><div class="">On 30 Jan 2022, at 10:20, Ryan Schmidt <<a href="mailto:ryandesign@macports.org" class="">ryandesign@macports.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">On Jan 29, 2022, at 10:56, Richard L. Hamilton wrote:<br class=""><blockquote type="cite" class=""><br class="">But looking at the dovecot Portfile, it seems the dependency on apache-solr8 is specific to the +solr variant (which you have, to be sure). So assuming your installation isn't a bit confused somehow, maybe port isn't always smart about showing variant-specific dependencies.<br class=""><br class="">That's just a guess, though; <br class=""></blockquote><br class="">That's correct.<br class=""><br class=""><blockquote type="cite" class="">On Jan 29, 2022, at 10:52, Gerben Wierda wrote:<br class=""><br class=""><blockquote type="cite" class="">Thank you. That solves a lot of the mystery. I did encounter a small mystery:<br class=""><br class="">gerben@hermione ~ % port installed rdepof:dovecot <br class=""></blockquote></blockquote><br class="">"rdepof" determines the port's recursive dependencies based on the port's default variants (which doesn't include +solr), not based on the variants with which you have it installed.<br class=""><br class="">I'm not sure if there's a form of this command that allows you to specify an alternate set of variants.<br class=""><br class=""><blockquote type="cite" class=""><blockquote type="cite" class="">The following ports are currently installed:<br class="">  autoconf @2.71_1 (active)<br class="">  automake @1.16.5_0 (active)<br class="">  bison @3.8.2_2 (active)<br class="">  bison-runtime @3.8.2_0 (active)<br class="">  bzip2 @1.0.8_0 (active)<br class="">  flex @2.6.4_0 (active)<br class="">  gettext @0.21_0 (active)<br class="">  gettext-runtime @0.21_0 (active)<br class="">  gettext-tools-libs @0.21_0 (active)<br class="">  libiconv @1.16_1 (active)<br class="">  libtextstyle @0.21_0 (active)<br class="">  libtool @2.4.6_13 (active)<br class="">  lz4 @1.9.3_1 (active)<br class="">  m4 @1.4.19_1 (active)<br class="">  ncurses @6.3_0 (active)<br class="">  openssl @3_2 (active)<br class="">  openssl3 @3.0.1_0+legacy (active)<br class="">  pkgconfig @0.29.2_0 (active)<br class="">  xz @5.2.5_0 (active)<br class="">  zlib @1.2.11_0 (active)<br class="">gerben@hermione ~ % port installed rdependentof:apache-solr8<br class=""></blockquote></blockquote><br class="">"rdependentof" consults your MacPorts registry to determine this information, so it's based on what was recorded there when you installed the ports with whatever variants you installed them with.<br class=""><br class=""><blockquote type="cite" class=""><blockquote type="cite" class="">The following ports are currently installed:<br class="">  dovecot @2.3.17_0+apns+solr (active)<br class=""><br class="">Or, it seems port knows apache-solr8 is requested by dovecot but not the other way around.<br class=""></blockquote></blockquote><br class=""></div></div></blockquote></div><br class=""></div></body></html>