git: 8ce4d0fc812c - main - math/py-clingo: Correct cmake dependency; Use PYTHON_EXT_SUFFIX

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Wed, 14 Sep 2022 05:00:40 UTC
The branch main has been updated by yuri:

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

commit 8ce4d0fc812c929de68c88cd66fe780035a41b9f
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-09-14 04:59:19 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-09-14 04:59:19 +0000

    math/py-clingo: Correct cmake dependency; Use PYTHON_EXT_SUFFIX
---
 math/py-clingo/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/math/py-clingo/Makefile b/math/py-clingo/Makefile
index 7cbc09ee893c..f1a8fc9a9a32 100644
--- a/math/py-clingo/Makefile
+++ b/math/py-clingo/Makefile
@@ -11,7 +11,7 @@ WWW=		https://potassco.org/clingo/
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE.md
 
-BUILD_DEPENDS=	cmake:devel/cmake \
+BUILD_DEPENDS=	cmake:devel/cmake-core \
 		${PYTHON_PKGNAMEPREFIX}cffi>0:devel/py-cffi@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}scikit-build>0:devel/py-scikit-build@${PY_FLAVOR}
 
@@ -22,6 +22,6 @@ TEST_ENV=	${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
 TEST_WRKSRC=	${WRKSRC}/libpyclingo/clingo/tests
 
 post-install:
-	@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/clingo/_clingo.cpython-${PYTHON_SUFFIX}.so
+	@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/clingo/_clingo${PYTHON_EXT_SUFFIX}.so
 
 .include <bsd.port.mk>