git: 5b29ffd394cb - main - devel/py-qcs-sdk-python: Fix build by adjusting top-level Cargo.toml
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 20 Sep 2025 09:44:15 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=5b29ffd394cbe7b9b327c0b1b51e4576d928f067
commit 5b29ffd394cbe7b9b327c0b1b51e4576d928f067
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2025-09-20 09:43:32 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2025-09-20 09:44:13 +0000
devel/py-qcs-sdk-python: Fix build by adjusting top-level Cargo.toml
PR: 289659
---
devel/py-qcs-sdk-python/Makefile | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/devel/py-qcs-sdk-python/Makefile b/devel/py-qcs-sdk-python/Makefile
index 20a0dc8ec225..c89bea47ed8e 100644
--- a/devel/py-qcs-sdk-python/Makefile
+++ b/devel/py-qcs-sdk-python/Makefile
@@ -509,7 +509,11 @@ WRKSRC_SUBDIR= crates/python
BINARY_ALIAS= python3=${PYTHON_CMD}
post-patch:
- ${MKDIR} ${WRKDIR}/quil-rs-quil-py
- ${MV} ${WRKDIR}/quil-rs-quil-py-v0.12.1 ${WRKDIR}/quil-rs-quil-py/v0.12.1
+ @${MKDIR} ${WRKDIR}/quil-rs-quil-py
+ @${MV} ${WRKDIR}/quil-rs-quil-py-v0.12.1 ${WRKDIR}/quil-rs-quil-py/v0.12.1
+ # prevent breakage due to crates/.cargo inclusion
+ @${REINPLACE_CMD} \
+ -e 's|members = \["crates/\*"\]|members = ["crates/python"]|' \
+ ${WRKSRC}/../../Cargo.toml
.include <bsd.port.mk>