Re: [MacPorts] #64486: bison-runtime fails at destroot on 10.5.8 ppc64 and 10.6.8 Rosetta – solution found
MacPorts
noreply at macports.org
Sun Mar 27 16:54:44 UTC 2022
#64486: bison-runtime fails at destroot on 10.5.8 ppc64 and 10.6.8 Rosetta –
solution found
---------------------------+----------------------
Reporter: barracuda156 | Owner: mascguy
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Resolution: | Keywords: powerpc
Port: bison |
---------------------------+----------------------
Comment (by barracuda156):
Replying to [comment:12 mascguy]:
> Replying to [comment:9 barracuda156]:
> > Can this be added to port file with condition specified, like:
> >
> > [...]
>
> I'm fine with that, albeit generalized for the target architecture:
>
> {{{
> if {${os.major} == 10 && ${configure.build_arch} in [list ppc ppc64]} {
> configure.args-append CC="gcc-4.2 -arch ${configure.build_arch}" \
> CXX="g++-4.2 -arch ${configure.build_arch}"
\
> CFLAGS="-arch ${configure.build_arch}" \
> CXXLAGS="-arch ${configure.build_arch}" \
> LDFLAGS="-L/opt/local/lib" \
> --build=powerpc-apple-darwin${os.major} \
> --host=powerpc-apple-darwin${os.major} \
> --with-libiconv-prefix=/opt/local \
> --with-libintl-prefix=/opt/local
> }
> }}}
>
> Ryan/Ken, how does this look to you folks? And are there any other
gotchas I need to be aware of...?
I am not sure ppc64 for darwin10 is sensible (neither 10.6.8 nor 10A190
currently supports it), though perhaps it does not hurt either: if we ever
succeed in fixing ppc64 for 10.6 PPC, it will be useful.
--
Ticket URL: <https://trac.macports.org/ticket/64486#comment:15>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list