[MacPorts] #65270: Fish 3.4.1 fails to compile on Leopard PPC
MacPorts
noreply at macports.org
Wed Jun 1 21:15:55 UTC 2022
#65270: Fish 3.4.1 fails to compile on Leopard PPC
-----------------------+--------------------
Reporter: acjones8 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.2
Resolution: | Keywords:
Port: fish |
-----------------------+--------------------
Comment (by kencu):
It is possible to install an older version of a port, if a newer one can't
build and can't be fixed or you don't have time for that at the moment.
You set up a folder of portfiles that you want to use instead of the main
ones. This is an "local portfile repository" or an "overlay". You then
make that folder searched before the main repository is searched.
Then you clone the main repository of portfiles and find the github
history that takes you back to the commit you want -- the commit before
the one that updated your port to the one that will no longer build, for
example, or some old version from 2019 if you want. You check out that
commit, copy the Portfile (whole folder) from that date into your
"overlay", and then it will be used.
MacPorts changes over time -- it's possible that old Portfile will need
some updating to actually work -- but if it's not too old, it will
probably work. The various dependencies however may have moved on, and the
older version may not build against the newer deps, etc, etc, etc -- it's
not guaranteed to work.
see:
https://guide.macports.org/#development.local-repositories
https://trac.macports.org/wiki/howto/InstallingOlderPort
and probably more spots for detailed info.
--
Ticket URL: <https://trac.macports.org/ticket/65270#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list