Re: [MacPorts] #64486: bison-runtime build for ppc fails at destroot on 10.6.8 (Rosetta) – solution found

MacPorts noreply at macports.org
Wed Jan 26 03:35:13 UTC 2022


#64486: bison-runtime build for ppc fails at destroot on 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:8 ryandesign]:
 > Obviously we would need a more general solution to be able to apply it
 to MacPorts.

 Can this be added to port file with condition specified, like:


 {{{
 if {${os.major} == 10 && ${configure.build_arch} eq "ppc"} {
     configure.args-append   CC="gcc-4.2 -arch ppc" \
                             CXX="g++-4.2 -arch ppc" \
                             CFLAGS="-arch ppc" \
                             CXXLAGS="-arch ppc" \
                             LDFLAGS="-L/opt/local/lib" \
                             --build=powerpc-apple-darwin10 \
                             --host=powerpc-apple-darwin10 \
                             --with-libiconv-prefix=/opt/local \
                             --with-libintl-prefix=/opt/local
 }
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/64486#comment:9>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list