On 5 Mar 2017, at 01:58, Michael <[email protected]> wrote:
> Ok, how?
> 
> Is it as simple as "copy these files out of the git tree into the /opt tree"? 
> And if so, will that "clean up" automatically the next time I do a selfupdate?
> 
> Is there an environment variable I can set to say "Find the portfiles here, 
> rather than in the default location"? My concern here is that I can easily 
> think of cases where turning back a library requires turning back the 
> programs that use that library.


· installing an older version of a port in the github era -- an answer
  https://lists.macports.org/pipermail/macports-dev/2016-December/035058.html

· set port not to upgrade
  
https://lists.macports.org/pipermail/macports-users/2017-February/thread.html#42751

· Local Portfile Repositories
  https://guide.macports.org/#development.local-repositories


I haven't gotten around to make it with git, nor used local libraries yet, but 
you could try duplicating libarchive and cmake locally and make the latter 
dependent on a renamed version of the former, like port:libarchive_local in its 
portfile. For the caveats read the threads above.

Reply via email to