git: 5ccfc24ac396 - main - math/py-topologic: Do not hard-code $PYTHON_EXT_SUFFIX

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sat, 26 Mar 2022 14:45:57 UTC
The branch main has been updated by yuri:

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

commit 5ccfc24ac3968ccc1f70615dd225c95a8a49e4e6
Author:     Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2022-03-26 14:45:25 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-03-26 14:45:54 +0000

    math/py-topologic: Do not hard-code $PYTHON_EXT_SUFFIX
    
    PR:             262822
---
 math/py-topologic/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/math/py-topologic/Makefile b/math/py-topologic/Makefile
index 6b4bd28035df..9e2a33a2e384 100644
--- a/math/py-topologic/Makefile
+++ b/math/py-topologic/Makefile
@@ -29,7 +29,7 @@ PLIST_FILES=	${PYTHON_SITELIBDIR}/topologic${PYTHON_EXT_SUFFIX}.so
 
 do-install: # workaround for https://github.com/wassimj/Topologic/issues/34
 	${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
-	${INSTALL_LIB} ${BUILD_WRKSRC}/topologic.cpython-38.so ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
+	${INSTALL_LIB} ${BUILD_WRKSRC}/topologic${PYTHON_EXT_SUFFIX}.so ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
 
 do-test: install
 	${PYTHON_CMD} ${WRKSRC}/test/topologictest01.py