Created attachment 224903 [details]
tcl is not used by matplotlib, not mentioned in the build logs or the source, and it builds and runs fine without it.
Note that by default we build the TkAgg back-end, which uses tkinter. Then, anyways, you get a dependency on TCL/Tk…
(In reply to Thierry Thomas from comment #1)
Yes, it's pulled by tk, but still not used by matplotlib. In QT5AGGBACKEND case this removes tcl dependency for good.
A commit in branch main references this bug:
Author: Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2021-06-09 13:57:37 +0000
Commit: Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2021-06-10 14:00:44 +0000
math/py-matplotlib: remove unneded dependency on tcl
Approved by: maintainer timeout (firstname.lastname@example.org, 1 month)
math/py-matplotlib/Makefile | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)