aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuslan Makhmatkhanov <rm@FreeBSD.org>2024-06-04 13:21:13 +0000
committerRuslan Makhmatkhanov <rm@FreeBSD.org>2024-06-04 13:21:13 +0000
commit3b4f33ab03eea6820d1e650503e025a9a065bf57 (patch)
treec6c79a820c88b0c06b943c64ac470c74e6b5fcfd
parentd55b13c0d079379533133ca3f9c0b29499bbf3b6 (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/Makefile3
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}