git: c7a1c27ac582 - main - devel/py-crc32c: Fix build with python-3.11

From: Wen Heping <wen_at_FreeBSD.org>
Date: Sun, 21 Jan 2024 08:21:11 UTC
The branch main has been updated by wen:

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

commit c7a1c27ac58259ba50ed6514b7c1ae544143098d
Author:     Wen Heping <wen@FreeBSD.org>
AuthorDate: 2024-01-21 08:20:02 +0000
Commit:     Wen Heping <wen@FreeBSD.org>
CommitDate: 2024-01-21 08:20:02 +0000

    devel/py-crc32c: Fix build with python-3.11
    
    PR:             275494
    Approved by:    portmgr(blanket, fix build)
---
 devel/py-crc32c/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/devel/py-crc32c/Makefile b/devel/py-crc32c/Makefile
index 9e8867fc2f04..de2a7a08b277 100644
--- a/devel/py-crc32c/Makefile
+++ b/devel/py-crc32c/Makefile
@@ -18,6 +18,6 @@ USES=		python
 USE_PYTHON=	autoplist distutils
 
 post-install:
-	${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/crc32c.cpython-39.so
+	${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/crc32c.cpython-${PYTHON_SUFFIX}.so
 
 .include <bsd.port.mk>