Accessing a MacPorts tree from another [local] system
Gregorio Litenstein
g.litenstein at gmail.com
Thu Aug 22 22:03:03 UTC 2024
Maybe you could try using a manual entry in fstab? Not the exact situation, but I've been running macports from a portable SSD for years, without issue.
The SSD has the macports installation under 'local' and I've added an entry in /etc/fstab so the drive is always mounted in /opt
Gregorio Litenstein Goldzweig
Médico Cirujano
• Fono: +56 9 96343643
• E-Mail: g.litenstein at gmail.com
On 11 Aug 2024 at 16:31 -0400, Sergey Fedorov <vital.had at gmail.com>, wrote:
> 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/20240822/d180b4b1/attachment-0001.htm>
More information about the macports-dev
mailing list