Transferring Port Across Systems
Anthony M. Agelastos
iqgrande at gmail.com
Mon Jan 13 14:41:56 UTC 2025
Greetings:
I have 2 macOS systems on ARM64. There are some Ports I'm able to build
on System A that I cannot on System B. I would like to transfer the
build from A to B. This doesn't happen often and is only for a few
Ports. So, setting up a binary mirror and all of that is significantly
more work than I'd like to do. One thing that /*appeared*/ to work,
e.g., for Port "librsvg", was the following:
# System A
sudo port install librsvg
cd /opt/local/var/macports/software/librsvg/librsvg-2.58.5_0.darwin_24.arm64
sudo tar cjf /path/to/librsvg-2.58.5_0.darwin_24.arm64.tbz2 ./
scp /path/to/librsvg-2.58.5_0.darwin_24.arm64.tbz2 SystemB:~/
# System B
cd /opt/local/var/macports/incoming/verified
sudo cp ~/librsvg-2.58.5_0.darwin_24.arm64.tbz2
sudo port install librsvg
Is this the best way of doing it on an ad-hoc basis? All of the
instructions I found online for creating a "*.tbz2" bundle seem to only
work if the Port hasn't been installed already, i.e., I couldn't find
instructions on how to create it from an already built Port. Thank you
for any guidance you can provide.
--
Kind regards,
Anthony
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20250113/4d9faa3e/attachment.htm>
More information about the macports-users
mailing list