[MacPorts] #65484: Add Support for PowerPC

MacPorts noreply at macports.org
Thu Jul 14 08:52:22 UTC 2022


#65484: Add Support for PowerPC
-------------------------------------------+--------------------
 Reporter:  acjones8                       |      Owner:  (none)
     Type:  enhancement                    |     Status:  new
 Priority:  Normal                         |  Milestone:
Component:  ports                          |    Version:  2.7.2
 Keywords:  maxima, powerpc, ppc, leopard  |       Port:  maxima
-------------------------------------------+--------------------
 Hello! I've used Maxima for quite a long time on other platforms, but I
 noticed that it's currently impossible to build the port on a PowerPC
 version of OSX. The issue is that SBCL doesn't support PowerPC for Macs
 and hasn't for a very long time, and ABCL relies on Java, of which a
 modern version currently isn't available for PowerPC either.

 However, I noticed that there's a clisp variant in the Portfile,
 originally intended for non-darwin systems it seems. On a whim, I removed
 the check for a non-darwin system and built the +clisp variant on my
 PowerBook running 10.5, and surprisingly that worked fine - it compiled
 without errors and I have yet to see any issues crop up in my usage so
 far.

 I've attached my patch. It exposes the clisp variant for all users, and
 then adds it as the default for PowerPC OS X and the non-darwin, non-i386
 users it was originally meant for. My thinking is that the only changes
 this will make is allowing PowerPC OS X users to have it compile
 successfully by default, and it adds another option for regular x86 or ARM
 users if they want to use clisp for any reason.

 I don't have much experience writing patches for MacPorts, so I welcome
 any guidance on if I'm doing this correctly. I also only have my PowerBook
 to test on, so while I don't think this should introduce any problems on
 modern Macs (if I correctly understand how variants work and how they're
 being applied), it would be helpful if someone could confirm that.

-- 
Ticket URL: <https://trac.macports.org/ticket/65484>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list