<html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello<br>
    <br>
    I recently reported what I thought was a bug in macports,<br>
    but was in fact a misunderstanding on my part.<br>
    Here is my report (<font color="#009900">in green</font>) and the
    response to it (<font color="#3333ff">in blue</font>) (between =====
    marks)<br>
    <br>
    =========================================<br>
    <pre wrap=""><font color="#ff0000"><font color="#009900"><b>port install perl5 -perl5_16 +perl5_22</b>

 seems to work (perl executables linked to perl5.22 partners)

 but then:

 <b>port deps perl5</b>
 reports the following

 Full Name: perl5 @5.16.3_0+perl5_16
 Library Dependencies: perl5.16</font>
</font>

<font color="#3333ff">Comment:

 This is behaving correctly. <b>port deps perl5</b> shows the dependencies of
 the perl5 port in its default configuration, which currently means
 with the +perl5_16 variant. You have installed the port with the +perl5_22
 variant, so if you would like to see the dependencies of that variant, you
 need to run <b>port deps perl5 +perl5_22</b>.</font></pre>
    =============================================<br>
    <br>
    So I misunderstood the meaning of <b>port defs.<br>
    </b>Thanks for the response.<br>
    <br>
    But then how would I, say months down the road,<br>
    would I then be able to determine what variant of<br>
    perl5 I actually have installed on my system?<br>
    I don't see a command to do that.<br>
    <br>
    It doesn't seem to me that reporting<br>
    <font color="#666600">perl5_16</font> to be default variant of <font
      color="#666600">perl5</font> is <br>
    that useful (I could find that by<br>
    <b>port variants perl5</b> could I not?)<br>
    <br>
    Doutbtless I am not the first to have this misconception<br>
    although I did a search on perl5 and variants in the<br>
    archives. Sorry if this is a topic that has been hashed<br>
    and rehashed forever.<br>
    <br>
    <br>
    Rob Stevens<br>
  </body>
</html>