<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sat, Mar 26, 2016 at 7:36 PM, André-John Mas <span dir="ltr">&lt;<a href="mailto:andrejohn.mas@gmail.com" target="_blank">andrejohn.mas@gmail.com</a>&gt;</span> wrote:<br><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"><div style="word-wrap:break-word"><div>I am trying to update the mediainfo port to 0.7.83, though there are changes beyond the</div><div>version number that need to be made.</div><div><br></div><div>Based on suggestion of the application developer I am trying to base the updated Portfile</div><div>on that recipe, but I am running into some issues. The homebrew file is:</div><div><br></div><div><a href="https://github.com/Homebrew/homebrew/blob/master/Library/Formula/media-info.rb" target="_blank">https://github.com/Homebrew/homebrew/blob/master/Library/Formula/media-info.rb</a></div><div><br></div><div>What I have attempted thus far:</div><div><br></div><div><div>    build {</div><div>       system cd &quot;${worksrcpath}/ZenLib/Project/GNU/Library&quot;</div><div></div></div></div></blockquote><div><br></div><div>This won&#39;t do anything useful; it will change directory in the shell created by system, which immediately exits. The Tcl script&#39;s directory is not changed at all (and almost certainly shouldn&#39;t be).</div><div><br></div><div>You probably want to read <a href="https://guide.macports.org/#reference">https://guide.macports.org/#reference</a>, and possibly a Tcl programming guide.</div><div><br></div><div>This thing really wants you to separately configure in two different directories? Ick. I don&#39;t think you&#39;ll be able to use MacPorts&#39; built-in configure support, which will make things even uglier.</div></div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>brandon s allbery kf8nh                               sine nomine associates</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a>                                  <a href="mailto:ballbery@sinenomine.net" target="_blank">ballbery@sinenomine.net</a></div><div>unix, openafs, kerberos, infrastructure, xmonad        <a href="http://sinenomine.net" target="_blank">http://sinenomine.net</a></div></div></div>
</div></div>