<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div><blockquote type="cite" class=""><div class="gmail_extra"><div class="gmail_quote">On Mon, Apr 11, 2016 at 11:47 AM, Daniel J. Luke&nbsp;<span dir="ltr" class="">&lt;<a href="mailto:dluke@geeklair.net" target="_blank" class="">dluke@geeklair.net</a>&gt;</span>&nbsp;wrote:<br class=""><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex;"><span class="">On Apr 10, 2016, at 4:01 AM, Takeshi Enomoto &lt;<a href="mailto:takeshi@macports.org" class="">takeshi@macports.org</a>&gt; wrote:<br class="">&gt; If there is a reason behind treating default_variants and manually set variants,<br class="">&gt; I’d like to know.<br class=""><br class=""></span>I'm not sure what the initial reasoning was, but I think the current behavior is correct.<br class=""><br class="">When a port is installed as a dependency of some other port, it should be installed the same way as if it were installed manually first.<br class=""><br class="">ie. A requires B:<br class=""><br class="">port install A<br class="">and<br class=""><br class="">port install B &amp;&amp; port install A<br class=""><br class="">should result in the same final install.<br class=""></blockquote></div></div></blockquote><blockquote type="cite" class=""><br class=""></blockquote><blockquote type="cite" class=""><div class="">On Apr 11, 2016, at 12:29 PM, David Strubbe &lt;<a href="mailto:dstrubbe@macports.org" class="">dstrubbe@macports.org</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Well, that is not the current behavior if a variant is specified manually. What happens is:<div class=""><br class=""></div><div class="">port install A +var</div><div class=""><br class=""></div><div class="">does</div><div class=""><br class=""></div><div class="">port install B +var &amp;&amp; port install A +var.</div><div class=""><br class=""></div><div class="">Why do you think it would be inappropriate to do that for default variants?</div></div></div></blockquote><div><br class=""></div>Binaries are only provided for default variants so you might loose binary packages for dependencies due to variants you don’t care about in the dependency.<div class=""><div class=""><br class=""></div><div class=""><br class=""><div class=""><div class="">Regards,</div><div class="">Bradley Giesbrecht (pixilla)</div><div class=""><br class=""></div></div></div></div><div><br class=""></div></div></div></body></html>