git: b3fec647dae2 - main - science/py-phonopy: Unbreak by wildcarded .so in strip targets
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 11 Jul 2026 00:24:38 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=b3fec647dae2fc762f53f499e0edef6ff7fc60c5
commit b3fec647dae2fc762f53f499e0edef6ff7fc60c5
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-07-11 00:22:30 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-07-11 00:24:33 +0000
science/py-phonopy: Unbreak by wildcarded .so in strip targets
Reported by: fallout
---
science/py-phonopy/Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/science/py-phonopy/Makefile b/science/py-phonopy/Makefile
index a33abc55b314..dd32c767dfb2 100644
--- a/science/py-phonopy/Makefile
+++ b/science/py-phonopy/Makefile
@@ -32,7 +32,7 @@ TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
TEST_WRKSRC= ${WRKSRC}/test
post-install:
- @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/phonopy/_phonopy.abi3.so
- @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/phonopy/_recgrid.abi3.so
+ @${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR}/phonopy -maxdepth 1 -name '_phonopy*.so' -exec ${STRIP_CMD} {} +
+ @${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR}/phonopy -maxdepth 1 -name '_recgrid*.so' -exec ${STRIP_CMD} {} +
.include <bsd.port.mk>