<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="">Is there a way that I can rebuild and reactivate an older version of a &nbsp;port? &nbsp;I know about this link: &nbsp;<a href="https://trac.macports.org/wiki/howto/InstallingOlderPort" class="">https://trac.macports.org/wiki/howto/InstallingOlderPort</a>&nbsp; but the problem I have is a little bit different.<div class="">I have the old versions still on my computer, including the source (these were ports that build from source), and they are for a port that is not hosted on macports. &nbsp;</div><div class="">The problem is that one of the dependents changed, so if I just activate the old version it fails. &nbsp;So, what I want is essentially to “activate from source” or “rebuild @version)” since I already have the source and the port for the old version. &nbsp;</div><div class="">I can just activate the old version because there is the issue of a bad link, so it needs to be rebuilt. &nbsp;</div><div class="">I tried:&nbsp;</div><div class="">sudo port install myport @myoldversion but it tried to rebuild the new version, which is not what I want. &nbsp;</div><div class="">I also tried just giving the source flag:</div><div class="">sudo port activate -s myport @myoldversion but then it just activated the old version. &nbsp;</div><div class=""><br class=""></div><div class="">I actually had no intention of yet upgrading this port, but when I upgraded one of the dependents , macports found that the port was now broken, and proceeded to download the new version of the port before rebuilding. &nbsp;But, that new version is actually broken (for a completely unrelated reason). &nbsp;So, now I can’t use the new version of the port, and I want to go back to the old version, but I can just activate it, because of the dependent issue. &nbsp;So, I want to just have macports rebuild the old version from source. &nbsp;</div><div class=""><br class=""></div><div class="">Any guidance? &nbsp;</div><div class=""><div class="">
<div class=""><br class="khtml-block-placeholder"></div><div class="">--Adam</div><div class=""><br class="khtml-block-placeholder"></div><div class=""><br class="khtml-block-placeholder"></div>

</div>
<br class=""></div></body></html>