Changeset View
Changeset View
Standalone View
Standalone View
lang/rust/Makefile
Show First 20 Lines • Show All 127 Lines • ▼ Show 20 Lines | @${REINPLACE_CMD} -e \ | ||||
${WRKSRC}/src/stage0.txt | ${WRKSRC}/src/stage0.txt | ||||
@${REINPLACE_CMD} -e \ | @${REINPLACE_CMD} -e \ | ||||
's|^cargo:.*|cargo: ${CARGO_BOOTSTRAP_VERSION_${ARCH}:U${CARGO_BOOTSTRAP_VERSION}}|' \ | 's|^cargo:.*|cargo: ${CARGO_BOOTSTRAP_VERSION_${ARCH}:U${CARGO_BOOTSTRAP_VERSION}}|' \ | ||||
${WRKSRC}/src/stage0.txt | ${WRKSRC}/src/stage0.txt | ||||
# After patching crates, we need to update their corresponding | # After patching crates, we need to update their corresponding | ||||
# `.cargo-checksum.json` to reflect the new checksums verified by Cargo. | # `.cargo-checksum.json` to reflect the new checksums verified by Cargo. | ||||
@for dir in "${WRKSRC}/src/vendor/libc" \ | @for dir in "${WRKSRC}/src/vendor/libc" \ | ||||
"${WRKSRC}/src/vendor/libgit2-sys" \ | "${WRKSRC}/src/vendor/libgit2-sys" \ | ||||
"${WRKSRC}/src/vendor/openssl-sys" \ | |||||
"${WRKSRC}/src/vendor/openssl"; do \ | "${WRKSRC}/src/vendor/openssl"; do \ | ||||
if ! test -d "$$dir"; then \ | if ! test -d "$$dir"; then \ | ||||
continue; \ | continue; \ | ||||
fi; \ | fi; \ | ||||
cd "$$dir"; \ | cd "$$dir"; \ | ||||
for file in $$(${FIND} * -name "*.orig"); do \ | for file in $$(${FIND} * -name "*.orig"); do \ | ||||
old_checksum=$$(${SHA256} -q "$$file"); \ | old_checksum=$$(${SHA256} -q "$$file"); \ | ||||
new_checksum=$$(${SHA256} -q "$${file%%.orig}"); \ | new_checksum=$$(${SHA256} -q "$${file%%.orig}"); \ | ||||
▲ Show 20 Lines • Show All 237 Lines • Show Last 20 Lines |