[MacPorts] #69125: Pythons for PowerPC: introduce a path-style dependency and separate ports (?)
MacPorts
noreply at macports.org
Thu Jan 18 01:24:00 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 barracuda156):
Replying to [comment:2 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.
Your idea is indeed better than tweaking an existing patch.
--
Ticket URL: <https://trac.macports.org/ticket/69125#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list