[MacPorts] #64607: fix for libtheora to build on 10.6.8 Rosetta

MacPorts noreply at macports.org
Fri Feb 4 15:31:32 UTC 2022


#64607: fix for libtheora to build on 10.6.8 Rosetta
---------------------------+-------------------------------------------
  Reporter:  barracuda156  |      Owner:  (none)
      Type:  submission    |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.7.1
Resolution:                |   Keywords:  powerpc, snowleopard, rosetta
      Port:  libtheora     |
---------------------------+-------------------------------------------

Comment (by ryandesign):

 `--build` is supposed to reflect the machine doing the building while
 `--host` is supposed to reflect the machine on which the compiled program
 will ultimately run. As such, if you are building on an Intel Mac (as I
 assume you are based on the mention of Rosetta) then `--build=powerpc-
 apple-darwin10` does not seem correct.

 I also don't think your proposal correctly handles the universal variant.
 If this build system needs `--build` / `--host` flags, then it will most
 likely need different flags for each architecture in a universal build,
 which means using the muniversal portgroup. The muniversal portgroup
 already contains code that can set `--build` and `--host` flags for you,
 but regrettably only when the universal variant is selected; it is left up
 to the portfile author to set them correctly when the universal variant is
 not selected.

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


More information about the macports-tickets mailing list