[MacPorts] #64996: WIP on making nhc98 build
MacPorts
noreply at macports.org
Sun Jun 26 23:20:12 UTC 2022
#64996: WIP on making nhc98 build
---------------------------+-------------------------------------------
Reporter: barracuda156 | Owner: essandess
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.7.2
Resolution: | Keywords: powerpc, leopard, snowleopard
Port: nhc98 |
---------------------------+-------------------------------------------
Comment (by barracuda156):
Replying to [comment:8 ryandesign]:
> That PR was faulty in a number of ways.
>
> 1. It blacklists all compilers:
>
> > {{{
> > Warning: All compilers are either blacklisted or unavailable;
defaulting to first fallback option
> > }}}
>
> Clang is the only compiler modern macOS has in the compiler list, but
this port apparently is not compatible with clang. Therefore the port must
add some other suitable compiler to the compiler.fallback list.
>
> 2. It patches configure and Makefile so that it always builds with `gcc`
rather than with the compiler MacPorts tells it to use; in other words;
it's not UsingTheRightCompiler.
The alternative compiler could be `ghc`, however I cannot verify if its
current Macports version builds this port (since it is not yet fixed for
PPC). As I recall, defining it to build with `gcc` has been both done in
Macports with the earlier version of the port, as well as on FreeBSD.
--
Ticket URL: <https://trac.macports.org/ticket/64996#comment:9>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list