git: d7e926c70978 - main - math/py-mnnpy: Fix build with python-3.11

From: Wen Heping <wen_at_FreeBSD.org>
Date: Fri, 16 Feb 2024 13:02:58 UTC
The branch main has been updated by wen:

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

commit d7e926c7097813a56afca37119855f4710c16b50
Author:     Wen Heping <wen@FreeBSD.org>
AuthorDate: 2024-02-16 12:48:24 +0000
Commit:     Wen Heping <wen@FreeBSD.org>
CommitDate: 2024-02-16 13:01:56 +0000

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

diff --git a/math/py-mnnpy/Makefile b/math/py-mnnpy/Makefile
index 30ff2a05ed11..8e7804c7f492 100644
--- a/math/py-mnnpy/Makefile
+++ b/math/py-mnnpy/Makefile
@@ -31,6 +31,6 @@ post-patch:
 .endif
 
 post-install:
-	@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/mnnpy/_utils.cpython-39.so
+	@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/mnnpy/_utils.cpython-${PYTHON_SUFFIX}.so
 
 .include <bsd.port.mk>