git: 6ded914a1aa7 - main - sysutils/py-scandir: Cosmetic change

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Fri, 05 Nov 2021 19:18:09 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6ded914a1aa7d8718fd5398ca52c07f6790e9e4e

commit 6ded914a1aa7d8718fd5398ca52c07f6790e9e4e
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2021-11-05 19:06:43 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2021-11-05 19:14:25 +0000

    sysutils/py-scandir: Cosmetic change
---
 sysutils/py-scandir/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sysutils/py-scandir/Makefile b/sysutils/py-scandir/Makefile
index ae3d50992665..19606ccc6cb9 100644
--- a/sysutils/py-scandir/Makefile
+++ b/sysutils/py-scandir/Makefile
@@ -17,7 +17,7 @@ USES=		python:3.6+
 USE_PYTHON=	autoplist concurrent distutils
 
 post-install:
-	${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_scandir*.so
+	${FIND} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
 
 do-test:
 	${SETENV} ${TEST_ENV} ${PYTHON_CMD} ${WRKSRC}/test/run_tests.py