[MacPorts] #67833: calc build fails on PPC: make: [charbit.h] Error 127 (ignored), make: *** [longbits.h] Error 127
MacPorts
noreply at macports.org
Fri Jul 28 08:06:28 UTC 2023
#67833: calc build fails on PPC: make: [charbit.h] Error 127 (ignored), make: ***
[longbits.h] Error 127
---------------------------+----------------------
Reporter: barracuda156 | Owner: pmetzger
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Resolution: | Keywords: powerpc
Port: calc |
---------------------------+----------------------
Comment (by barracuda156):
Replying to [comment:1 ryandesign]:
> The port is outdated; maybe updating would help:
I was actually trying to build the new version (I think the old one failed
already). Turned out Makefile hardcodes Clang – no surprise, it breaks
down on PPC.
https://github.com/lcn2/calc/issues/83
This fixes the build:
{{{
reinplace "s|LCC= clang|LCC= ${configure.cc}|" ${worksrcpath}/Makefile
}}}
--
Ticket URL: <https://trac.macports.org/ticket/67833#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list