pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Patching rust using packages in pkgsrc (.cargo-checksum.json)
Just a follow-up that pin@ and he@ both pointed me at lang/rust
handling the same issue and... it's ~always nicer to copy an existing
pattern (particularly a well formed one :)
I'm almost tempted to suggest that the block referenced should be
factored out into an include .mk file that other rust using packages
can use directly...
SUBST_CLASSES+= cksum
SUBST_STAGE.cksum= pre-configure
.for crate in ${CKSUM_CRATES}
SUBST_FILES.cksum+= ${crate}/.cargo-checksum.json
.endfor
.for from to in ${CKSUMS}
SUBST_SED.cksum+= -e 's,${from},${to},g'
.endfor
Home |
Main Index |
Thread Index |
Old Index