mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
www/py-http-parser: Fix packaging with Python 3.8+
* Apply the same fix as in 9cb5898561
by
stripping libraries by wildcard paths.
* Also use PYTHONPREFIX_SITELIBDIR instead PYTHON_SITELIBDIR to make
the port PREFIX safe while I'm here.
PR: 253815
Approved by: python (with hat)
This commit is contained in:
parent
70c2c6806c
commit
903b912a3b
@ -14,6 +14,6 @@ USES= python:3.6+
|
|||||||
USE_PYTHON= autoplist distutils
|
USE_PYTHON= autoplist distutils
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/http_parser/parser.so
|
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/http_parser/parser*.so
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
Loading…
Reference in New Issue
Block a user