[MacPorts] #66104: octave-control broken under arm64

MacPorts noreply at macports.org
Sat Oct 29 23:57:19 UTC 2022

#66104: octave-control broken under arm64
  Reporter:  Schamschula     |      Owner:  Schamschula
      Type:  defect          |     Status:  assigned
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:
Resolution:                  |   Keywords:
      Port:  octave-control  |

Comment (by ryandesign):

 MacPorts is setting it in the environment:
 FFLAGS='-pipe -Os -m32 -m64'

 It's coming from the octave portgroup which says:
         # fortran arch flag is not set automatically
         if {${configure.build_arch} eq "x86_64" || ${configure.build_arch}
 eq "ppc64"} {
             configure.fflags-append -m64
         } else {
             configure.fflags-append -m32

 The 64-bit case needs to have arm64 added to it, like this:

         if {${configure.build_arch} in [list arm64 ppc64 x86_64]} {

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

More information about the macports-tickets mailing list