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 /databases/py-cassandra-driver | |
parent | sysutils/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 'databases/py-cassandra-driver')
-rw-r--r-- | databases/py-cassandra-driver/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/databases/py-cassandra-driver/Makefile b/databases/py-cassandra-driver/Makefile index 749e01dd7c90..93ad94863b6a 100644 --- a/databases/py-cassandra-driver/Makefile +++ b/databases/py-cassandra-driver/Makefile @@ -29,7 +29,7 @@ MURMUR3_DESC= Enable murmur3 extension OPTIONS_DEFAULT= LIBEV MURMUR3 LIBEV_LIB_DEPENDS= libev.so:devel/libev -LIBEV_VARS= STRIPFILES=${STAGEDIR}${PYTHON_SITELIBDIR}/cassandra/io/libevwrapper.so +LIBEV_VARS= STRIPFILES=${STAGEDIR}${PYTHON_SITELIBDIR}/cassandra/io/libevwrapper*.so LIBEV_VARS_OFF= PYDISTUTILS_BUILDARGS+=--no-libev PYDISTUTILS_INSTALLARGS+=--no-libev MURMUR3_VARS_OFF= PYDISTUTILS_BUILDARGS+=--no-murmur3 PYDISTUTILS_INSTALLARGS+=--no-murmur3 |