diff options
author | Ruslan Makhmatkhanov <rm@FreeBSD.org> | 2024-06-04 13:21:13 +0000 |
---|---|---|
committer | Ruslan Makhmatkhanov <rm@FreeBSD.org> | 2024-06-04 13:21:13 +0000 |
commit | 3b4f33ab03eea6820d1e650503e025a9a065bf57 (patch) | |
tree | c6c79a820c88b0c06b943c64ac470c74e6b5fcfd | |
parent | d55b13c0d079379533133ca3f9c0b29499bbf3b6 (diff) |
devel/py-pymtbl: fix build with python3.11
make it recreate the source with newer cython
PR: 275494
Approved by: portmgr (blanket approval)
-rw-r--r-- | devel/py-pymtbl/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
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} |