Accessing a MacPorts tree from another [local] system

Sergey Fedorov vital.had at gmail.com
Sun Aug 11 20:15:09 UTC 2024


For testing purposes, I want to use an existing MacPorts installation with
another local system (same major darwin version, different minor). Is there
a way to do that besides actually copying the whole tree (or reproducing it
via installing)?

Specifically, I want to try building a few specific ports, but I neither
want to build everything from scratch (that will take days of compilation)
nor ditto a multi-gigabyte tree (that is feasible but inconvenient).
Simply symlinking /opt/local from a volume with MacPorts into /opt/local on
a system of interest does not work correctly.

Any alternatives which will actually work as intended? I.e. I want a clean
system to use /opt/local from another volume.
Or can I configure MacPorts on the system of interest to use a prefix
pointing to ${another_local_volume}/opt/local?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20240812/6c8616e7/attachment.htm>


More information about the macports-dev mailing list