<div dir="ltr"><div class="gmail_extra">On Sat, Apr 12, 2014 at 4:55 PM,  <span dir="ltr">&lt;<a href="mailto:MK-MacPorts@techno.ms" target="_blank">MK-MacPorts@techno.ms</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hi devs,<br>
<br>
I just wonder whether someone out there<br>
        has already written some script<br>
                which can determine for any given port A<br>
                        whether non-binary ports B1-Bn are to be build during port A&#39;s installation.<br>
<br>
Greets,<br>
Marko<br>
<br>
P.S.: I do know that there is mp-distributable.sh in order to determine whether a port is binary-distributable.<br></blockquote><div><br></div><div>Well, if there is already mp-distributable.sh, then it probably should not be too hard to loop over a port&#39;s rdeps and run that script for each of them... maybe something like this?</div>

<div><br></div><div>    #!/bin/sh</div><div>    for depport in `port -q rdeps $1`; do</div><div>      sh /path/to/mp-distributable.sh ${depport}</div><div>    done</div><div><br></div><div>(note: not actually tested yet)</div>

<div><br></div></div></div></div>