aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-06-03 13:57:51 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-06-03 13:59:15 +0000
commite51a2d1c8c5052a793244043470aba1e9655de06 (patch)
treea43c8da3e6df339ea4c23a48fdaf31b14b0b432a
parent69b778db07d83c8dd7a95282aee72ff446da3220 (diff)
downloadports-e51a2d1c8c5052a793244043470aba1e9655de06.tar.gz
ports-e51a2d1c8c5052a793244043470aba1e9655de06.zip
devel/py-maturin: Fix build with setuptools 61.0.0+
With hat: python
-rw-r--r--devel/py-maturin/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/devel/py-maturin/Makefile b/devel/py-maturin/Makefile
index 129beefa7f81..dae83e0fb978 100644
--- a/devel/py-maturin/Makefile
+++ b/devel/py-maturin/Makefile
@@ -261,6 +261,9 @@ CARGO_BUILD_ARGS= --no-default-features \
--features=upload,log,human-panic
.endif
+post-patch:
+ @${RM} ${WRKSRC}/pyproject.toml
+
# The binary is usually built via setup.py which uses different compiler flags.
# That line is patched out there to use the compiler flags from the Ports
# framework instead. The setup.py is processed in the "do-build" target to