Re: How to pin a package?

2020-03-14 Thread Ryan Schmidt



On Mar 14, 2020, at 00:39, Jeffrey Walton wrote:

> My old PowerMac G5 cannot build the CMake being supplied with
> MacPorts. I know CMake now requires C+11 or C++14, and the antique
> tools on the Mac do not meet the requirements. I want to pin CMake to
> an older version for the Mac. For example, 3.15.4 or 3.14.6.
> 
> How do I pin a package using MacPorts?

MacPorts doesn't have a "pin a package" feature. We would not be able to 
accommodate the explosion of bug reports that would arise if we allowed users 
to construct arbitrary combinations of versions of ports from the past. 
Instead, we focus on providing a single collection of ports that are hopefully 
somewhat up to date and should work together.

In a collection of this size, it is inevitable that at any given point some 
things will be broken, such as the bug you found where cmake doesn't build on 
10.5 right now. Those bugs should be fixed.

While we don't allow users to decide what version of a port they want, the 
maintainer of a port can make such decisions and it can be based on variables. 
For example, several ports already restrict themselves to an older version of 
the software when the port is installed on older operating systems if the 
latest version of the software no longer builds on older systems. If that were 
necessary to resolve this issue for 10.5, the maintainer of the port could 
choose to do that, however it's not clear at this point whether that would help.



Re: How to pin a package?

2020-03-14 Thread Ken Cunningham
you might be interested in this ticket re: cmake on 10.5 ppc

https://trac.macports.org/ticket/59832

tl;dr

it works if you activate libgcc7 7.4.0




Re: Using macports 2.6.2 on a powerbook G4 1.33GHz and Leopard 10.5.8 ppc

2020-03-14 Thread Riccardo Mottola via macports-users



Ken Cunningham wrote:



Your Leopard machine (PPC or intel) is quite well supported, in a 
non-official-fashion, with MacPorts, as are almost all macOS systems. Bring all 
your friends!


I would say Leopard forever! ALmost the bast MacOS done. 
Actually, I think it is 10.6, but it lost PPC. 10.5 has some "bugs" e.g. 
in Bonjour... that apple didn't fix in 8 revisions (just check your log) 
but is otherwise very capable and more modern enough than 10.4 that 
porting software to it can be hard but "doable".


I have Leopard on PPC, i386 and amd64 because some of the HW it suports 
is the best ever! PowerPC rocks!

However, the best supported target currently is intel 32bit.
I have some strange issues on 64bit (I think due more to MacPorts trying 
to build some "tools" like python or perl in 64bit fashion too and then 
fail) and PPC. But wil try a re-run right these days.


Getting ArcticFox on them would be the runner, but right now we can use 
TenFourFox.


Read mail with GNUMail and use some other apps like PRICE ad 
LaternaMagica and enjoy!


Riccardo