[MacPorts] #71996: py-tkinter: Links with whichever tk variant was active at build time
MacPorts
noreply at macports.org
Wed Feb 5 06:05:56 UTC 2025
#71996: py-tkinter: Links with whichever tk variant was active at build time
-------------------------+----------------------
Reporter: luillo76 | Owner: jmroot
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: py-tkinter |
-------------------------+----------------------
Comment (by ryandesign):
Replying to [ticket:71996 luillo76]:
> Previous Python versions (3.12 and earlier) are not affected.
They are if they are rebuilt from source.
The separation of tk into tk-x11 and tk-quartz ports happened on January
5. In fact all python versions of py-tkinter were last modified before
then, so the binaries we produced on the server still link with
/opt/local/lib/libtk8.6.dylib, a symlink pointing to whichever tk library
is currently active. So instead of having py-tkinter offer variants, it
should be possible to tell it to link with the symlink, probably by using
`install_name_tool` to fix the reference after linking.
--
Ticket URL: <https://trac.macports.org/ticket/71996#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list