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.litenst...@gmail.com

On 11 Aug 2024 at 16:31 -0400, Sergey Fedorov <vital....@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?

Reply via email to