Lines 3-9
Link Here
|
3 |
|
3 |
|
4 |
PORTNAME= rust |
4 |
PORTNAME= rust |
5 |
PORTVERSION?= 1.19.0 |
5 |
PORTVERSION?= 1.19.0 |
6 |
PORTREVISION?= 2 |
6 |
PORTREVISION?= 3 |
7 |
CATEGORIES= lang |
7 |
CATEGORIES= lang |
8 |
MASTER_SITES= http://static.rust-lang.org/dist/:src \ |
8 |
MASTER_SITES= http://static.rust-lang.org/dist/:src \ |
9 |
https://static.rust-lang.org/dist/:rust_bootstrap \ |
9 |
https://static.rust-lang.org/dist/:rust_bootstrap \ |
Lines 198-203
Link Here
|
198 |
if test "$$regex"; then \ |
198 |
if test "$$regex"; then \ |
199 |
${REINPLACE_CMD} -E $$regex .cargo-checksum.json; \ |
199 |
${REINPLACE_CMD} -E $$regex .cargo-checksum.json; \ |
200 |
fi |
200 |
fi |
|
|
201 |
|
202 |
@cd "${WRKSRC}/src/vendor/openssl-sys"; \ |
203 |
old_checksum=$$(${SHA256} -q "build.rs.orig"); \ |
204 |
new_checksum=$$(${SHA256} -q "build.rs"); \ |
205 |
${REINPLACE_CMD} 's|\"build.rs\":\"'$${old_checksum}'\"|\"build.rs\":\"'$${new_checksum}'\"|' ${WRKSRC}/src/vendor/openssl-sys/.cargo-checksum.json |
206 |
|
201 |
# We make a backup of a few files before the FreeBSD 10 autotools |
207 |
# We make a backup of a few files before the FreeBSD 10 autotools |
202 |
# fix is applied. We'll need them in `do-configure` to update the |
208 |
# fix is applied. We'll need them in `do-configure` to update the |
203 |
# `.cargo-checksum.json` files. |
209 |
# `.cargo-checksum.json` files. |
Lines 351-355
Link Here
|
351 |
--verbose \ |
357 |
--verbose \ |
352 |
--config ./config.toml \ |
358 |
--config ./config.toml \ |
353 |
--jobs ${MAKE_JOBS_NUMBER} |
359 |
--jobs ${MAKE_JOBS_NUMBER} |
354 |
|
|
|
355 |
.include <bsd.port.post.mk> |
360 |
.include <bsd.port.post.mk> |