devel/cargo-c: backport dep: syntax support

This commit is contained in:
Jan Beich 2022-11-05 01:20:54 +00:00
parent a380f3041c
commit ca25a32921
5 changed files with 1606 additions and 8 deletions

View File

@ -1,7 +1,7 @@
PORTNAME= cargo-c
DISTVERSION= 0.9.8
DISTVERSIONSUFFIX= +cargo-0.60
PORTREVISION= 6
PORTREVISION= 7
CATEGORIES= devel
MASTER_SITES= CRATESIO
# XXX Teach USES=cargo to have proper default

View File

@ -20,7 +20,7 @@ CARGO_CRATES= adler-1.0.2 \
commoncrypto-sys-0.2.0 \
core-foundation-0.9.3 \
core-foundation-sys-0.8.3 \
crates-io-0.33.1 \
crates-io-0.34.0 \
crc32fast-1.3.2 \
crossbeam-utils-0.8.7 \
crypto-hash-0.3.4 \

View File

@ -45,8 +45,8 @@ SHA256 (rust/crates/core-foundation-0.9.3.crate) = 194a7a9e6de53fa55116934067c84
SIZE (rust/crates/core-foundation-0.9.3.crate) = 27059
SHA256 (rust/crates/core-foundation-sys-0.8.3.crate) = 5827cebf4670468b8772dd191856768aedcb1b0278a04f989f7766351917b9dc
SIZE (rust/crates/core-foundation-sys-0.8.3.crate) = 17519
SHA256 (rust/crates/crates-io-0.33.1.crate) = b2d7714dc2b336c5a579a1a2aa2d41c7cd7a31ccb25e2ea908dba8934cfeb75a
SIZE (rust/crates/crates-io-0.33.1.crate) = 9435
SHA256 (rust/crates/crates-io-0.34.0.crate) = 6b4a87459133b2e708195eaab34be55039bc30e0d120658bd40794bb00b6328d
SIZE (rust/crates/crates-io-0.34.0.crate) = 9543
SHA256 (rust/crates/crc32fast-1.3.2.crate) = b540bd8bc810d3885c6ea91e2018302f68baba2129ab3e88f32389ee9370880d
SIZE (rust/crates/crc32fast-1.3.2.crate) = 38661
SHA256 (rust/crates/crossbeam-utils-0.8.7.crate) = b5e5bed1f1c269533fa816a0a5492b3545209a205ca1a54842be180eb63a16a6

File diff suppressed because it is too large Load Diff

View File

@ -23,10 +23,6 @@ PLIST_FILES= include/libimagequant.h \
lib/libimagequant.so.0.0.0 \
libdata/pkgconfig/imagequant.pc
post-patch:
# XXX Drop after devel/cargo-c >= 0.9.9 per https://github.com/rust-lang/cargo/commit/43a063c80a53
@${REINPLACE_CMD} 's/dep://g' ${WRKSRC:H}/Cargo.toml
do-build:
@${CARGO_CARGO_RUN} cbuild \
--verbose \