[MacPorts] #64532: graphite2 fails to build for ppc on 10.6.8 (Rosetta): unrecognized command line option '-mfpmath=sse'

MacPorts noreply at macports.org
Wed Jan 26 19:10:31 UTC 2022


#64532: graphite2 fails to build for ppc on 10.6.8 (Rosetta): unrecognized command
line option '-mfpmath=sse'
---------------------------+-------------------------------------------
  Reporter:  barracuda156  |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.7.1
Resolution:                |   Keywords:  powerpc, snowleopard, rosetta
      Port:  graphite2     |
---------------------------+-------------------------------------------

Comment (by barracuda156):

 Replying to [comment:3 kencu]:
 > that part of the CMakeLists.txt is actually added by MacPorts, to allow
 building on non-Intel processors.
 >
 > Look in the Port directory for the patch MacPorts added.

 Yes, I saw that, above is actually a quote from the patch. (As a quick
 one-time fix I replaced x86 with arm in it, so that wrong flags do not get
 applied, and graphite2 built.)

 > Perhaps you can tweak the existing patch to change it to include the
 build architecture in the logic, as that might be an improvement that
 could be accepted into the ports tree.

 Yeah, I should do a proper fix and new diff file. In effect we just need
 to remove those flags.

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


More information about the macports-tickets mailing list