On Sun, Apr 26, 2020 at 05:59:01PM +0200, f.holop wrote: > Stuart Henderson - Sun, 26 April 2020 at 16:30:32 > > Don't list the main distfile (i.e. the port itself) in MODCARGO_CRATES. > > yes of course, don't touch yourself while time travelling :} > > now i get this: > > ===> Extracting for hyperfine-1.9.0 > [modcargo] moving crates to > /home/f/src/ports/pobj/hyperfine-1.9.0/hyperfine-1.9.0/modcargo-crates > mkdir: > /home/f/src/ports/pobj/hyperfine-1.9.0/hyperfine-1.9.0/modcargo-crates: No > such file or directory >
It could help if you look at some port using devel/cargo as example. you could see such lines in /usr/ports/textproc/ripgrep/Makefile: # as devel/cargo MODULES adds DISTFILES, GH_* didn't DISTFILES += ${DISTNAME}${EXTRACT_SUFX} the port itself needs to know what to download (DISTFILES) and have the list of crates used by it (MODCARGO_CRATES). thanks. -- Sebastien Marie