<div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">The key is that you don’t have to download any ports--and possibly build some from source.  An installer is kept that contains a compressed archive of all the files contained in the port. <br></blockquote><div><br></div><div>Thanks Craig, that is a great tip!</div><div><br></div><div>BTW - I'm trying a variant of your suggested "PKG_CONFIG_SYSTEM_INCLUDE_PATH" fix.</div><div><br></div><div>It turns out that I already have in the compile script where PKGMGR_INST_PATH=/opt/local :</div></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div class="gmail_quote"><div>PKG_CONFIG_SYSTEM_INCLUDE_PATH=$PKGMGR_INST_PATH/include<br></div></div></blockquote><div class="gmail_quote"><div><br></div><div>Which I believe sets the search path to look for macports dylibs first, then the local ones - hence why a local ffmpeg install stomps the dylibs in the mythtv compile.</div><div><br></div><div>I'm changing that to:</div></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div class="gmail_quote"><div>PKG_CONFIG_SYSTEM_INCLUDE_PATH=$SRC_DIR/external:$PKGMGR_INST_PATH/include</div></div></blockquote><br><div>Which I hope makes the compiler / pkg_config first look for the locally compiled mythtv ffmpeg libraries.</div></div>