diff options
author | Kai Knoblich <kai@FreeBSD.org> | 2020-12-24 13:46:01 +0000 |
---|---|---|
committer | Kai Knoblich <kai@FreeBSD.org> | 2020-12-24 13:46:01 +0000 |
commit | 9cb5898561b302d952fec8e2fac66a945a2c4915 (patch) | |
tree | 9274631a296b893d582fb8062e2f256a3a8c8d77 /math/py-libpoly | |
parent | 7d195372928d0063fee4bc1fcf003eae95a2451e (diff) | |
download | freebsd-ports-9cb5898561b302d952fec8e2fac66a945a2c4915.zip |
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)
Diffstat (limited to 'math/py-libpoly')
-rw-r--r-- | math/py-libpoly/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/math/py-libpoly/Makefile b/math/py-libpoly/Makefile index 161b1b973229..34cc18e15f1c 100644 --- a/math/py-libpoly/Makefile +++ b/math/py-libpoly/Makefile @@ -27,7 +27,7 @@ BUILD_WRKSRC= ${WRKSRC}/python INSTALL_WRKSRC= ${WRKSRC}/python post-install: - ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/polypy.so + ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/polypy*.so do-build: @cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${PYDISTUTILS_SETUP} ${PYDISTUTILS_BUILD_TARGET} ${PYDISTUTILS_BUILDARGS} |