1
0
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:
Kai Knoblich 2021-04-19 16:50:22 +02:00
parent 70c2c6806c
commit 903b912a3b

View File

@ -14,6 +14,6 @@ USES= python:3.6+
USE_PYTHON= autoplist distutils
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/http_parser/parser.so
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/http_parser/parser*.so
.include <bsd.port.mk>