Created attachment 222540 [details] build --with-system-libmpdec I hope you prefer separate issues rather than a large patch. This is the same as https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253601 for Python-3.8.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=09397e741e930c1354b9feb73b80027268ab4a0f commit 09397e741e930c1354b9feb73b80027268ab4a0f Author: Stefan Krah <skrah@bytereef.org> AuthorDate: 2021-05-16 15:19:42 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2021-05-16 15:24:46 +0000 lang/python38: Use libmpdec from ports - Bump PORTREVISION for dependency and package change PR: 253603 lang/python38/Makefile | 8 ++++++-- .../files/patch-Modules___decimal___decimal.c (new) | 20 ++++++++++++++++++++ lang/python38/files/patch-setup.py (new) | 11 +++++++++++ 3 files changed, 37 insertions(+), 2 deletions(-)
Committed. Thanks!