summaryrefslogtreecommitdiff
path: root/textproc/py-regex
diff options
context:
space:
mode:
authorKai Knoblich <kai@FreeBSD.org>2020-12-24 13:46:01 +0000
committerKai Knoblich <kai@FreeBSD.org>2020-12-24 13:46:01 +0000
commit9cb5898561b302d952fec8e2fac66a945a2c4915 (patch)
tree9274631a296b893d582fb8062e2f256a3a8c8d77 /textproc/py-regex
parentsysutils/xen-tools: switch to PYTHON_EXT_SUFFIX (diff)
Relax hardcoded paths to fix build with Python 3.8.7
Since r558913 Python 3.8 incorporates BPO-42604 [1] which changed the shared libs naming scheme. This means "EXT_SUFFIX" is now derived from SOABI and yields with Python 3.8 to ".cpython-38.so" instead of ".so". The affected ports strip the libaries in the "post-install" target via hardcoded path(s) and the build fails at the end because the new extension is not expected at this place. Remedy the issue by adding wildcards to these paths. This should also prepare the ports for future Python releases, which will use the new shared libs naming scheme. [1] https://bugs.python.org/issue42604 PR: 252057 Reported by: John Kennedy Reviewed by: fluffy, koobs Approved by: koobs (python)
Notes
Notes: svn path=/head/; revision=559094
Diffstat (limited to 'textproc/py-regex')
-rw-r--r--textproc/py-regex/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/textproc/py-regex/Makefile b/textproc/py-regex/Makefile
index 802761e935bd..0070574f37cc 100644
--- a/textproc/py-regex/Makefile
+++ b/textproc/py-regex/Makefile
@@ -15,6 +15,6 @@ USES= python
USE_PYTHON= autoplist distutils
post-install:
- ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/regex/_regex.so
+ ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/regex/_regex*.so
.include <bsd.port.mk>