It came up in discussion how python3.8 doesn't have the m suffix like previous
python 3.x versions and how python.port.mk will need adjusting.
So here is a patch to do that.
(The m denotes being compiled with pymalloc, which would change the ABI.
It is still compiled with pymalloc by default, but it no longer changes
the ABI).
--Kurt
Index: python.port.mk
===================================================================
RCS file: /cvs/ports/lang/python/python.port.mk,v
retrieving revision 1.118
diff -u -p -r1.118 python.port.mk
--- python.port.mk 19 Nov 2019 11:34:55 -0000 1.118
+++ python.port.mk 18 Dec 2019 19:31:39 -0000
@@ -43,7 +43,12 @@ MODPY_COMMENT = "@comment "
MODPY_ABI3SO =
MODPY_PYOEXTENSION = pyo
.elif ${MODPY_MAJOR_VERSION} == 3
+. if ${MODPY_VERSION} == "3.7"
MODPY_LIB_SUFFIX = m
+. else
+# 3.8 (and presumably later) discards the m suffix on the library
+MODPY_LIB_SUFFIX =
+. endif
# replace py- prefix by py3-
FULLPKGNAME ?= ${PKGNAME:S/^py-/py3-/}${FLAVOR_EXT:S/-python3//}
MODPY_FLAVOR = ,python3