[MacPorts] #69125: Pythons for PowerPC: introduce a path-style dependency and separate ports (?)

MacPorts noreply at macports.org
Thu Jan 18 00:50:16 UTC 2024


#69125: Pythons for PowerPC: introduce a path-style dependency and separate ports
(?)
---------------------------+-------------------------------------------
  Reporter:  barracuda156  |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.8.1
Resolution:                |   Keywords:  powerpc, leopard, snowleopard
      Port:                |
---------------------------+-------------------------------------------

Comment (by kencu):

 python should test for pthread_threadid_np during it's configuration run,
 and set a define, perhaps called {{{HAVE_PTHREAD_THREADID_NP}}}.

 I suspect that might be done in this file:

 https://github.com/python/cpython/blob/main/configure.ac

 Then, if the function compiles, it can be used, otherwise it will not be
 used and a workaround might be used instead.

 This would be a proper, maintainable, solution that does not rely on
 fragile arch/system assumptions.

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


More information about the macports-tickets mailing list