git: 3b4f33ab03ee - main - devel/py-pymtbl: fix build with python3.11
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 04 Jun 2024 13:22:02 UTC
The branch main has been updated by rm: URL: https://cgit.FreeBSD.org/ports/commit/?id=3b4f33ab03eea6820d1e650503e025a9a065bf57 commit 3b4f33ab03eea6820d1e650503e025a9a065bf57 Author: Ruslan Makhmatkhanov <rm@FreeBSD.org> AuthorDate: 2024-06-04 13:21:13 +0000 Commit: Ruslan Makhmatkhanov <rm@FreeBSD.org> CommitDate: 2024-06-04 13:21:13 +0000 devel/py-pymtbl: fix build with python3.11 make it recreate the source with newer cython PR: 275494 Approved by: portmgr (blanket approval) --- devel/py-pymtbl/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/devel/py-pymtbl/Makefile b/devel/py-pymtbl/Makefile index e7ef4c936d0a..392e6810b820 100644 --- a/devel/py-pymtbl/Makefile +++ b/devel/py-pymtbl/Makefile @@ -25,6 +25,9 @@ CPPFLAGS+= -I${LOCALBASE}/include OPTIONS_DEFINE= EXAMPLES +post-patch: + cython-${PYTHON_VER} ${WRKSRC}/mtbl.pyx + post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/mtbl*.so ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}