1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-06 01:57:40 +00:00

- Fix build with python 3.8+ by stripping libraries by wildcard paths, similar to r559094

- Fix PYTHONPREFIX misuse and silence stripping

Approved by:	portmgr blanket
This commit is contained in:
Dmitry Marakasov 2021-02-25 20:41:53 +00:00
parent 76b6791de0
commit 7c0b84c1a0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=566558

View File

@ -20,8 +20,8 @@ OPTIONS_DEFINE= DOCS
PORTDOCS= PKG-INFO README.rst
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/asyncpg/protocol/protocol.so
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/asyncpg/pgproto/pgproto.so
@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/asyncpg/protocol/protocol*.so
@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/asyncpg/pgproto/pgproto*.so
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}/