Re: [MacPorts] #64487: m4 fails to build for ppc on 10.6.8 (Rosetta) – solution found

MacPorts noreply at macports.org
Sat Jul 22 21:01:52 UTC 2023


#64487: m4 fails to build for ppc on 10.6.8 (Rosetta) – solution found
---------------------------+--------------------------
  Reporter:  barracuda156  |      Owner:  barracuda156
      Type:  defect        |     Status:  reopened
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.7.1
Resolution:                |   Keywords:  powerpc
      Port:  m4            |
---------------------------+--------------------------

Comment (by kencu):

 one of the older llvm ports does this:
 {{{
 platform darwin {
     if {${build_arch} eq "i386"} {
         configure.pre_args-append --build=i686-apple-darwin${os.major}
     } elseif {${build_arch} eq "ppc"} {
         configure.pre_args-append --build=powerpc-apple-darwin${os.major}
     } elseif {${build_arch} eq "ppc64"} {
         configure.pre_args-append --build=powerpc64-apple-
 darwin${os.major}
     } else {
         configure.pre_args-append --build=${build_arch}-apple-
 darwin${os.major}
     }
 }
 }}}

 perhaps something along those lines is needed for a robust fix for these
 issues, although branching I think on {{{configure.build_arch}}} instead
 of {{{build_arch}}}.

 Have to see what the arm Macs want exactly, and they might need a specific
 addition as well.

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


More information about the macports-tickets mailing list