[Bug 230413] CARGO_CRATES broken with crate names ending with -<number>

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Aug 7 19:55:58 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230413

--- Comment #3 from commit-hook at freebsd.org ---
A commit references this bug:

Author: tobik
Date: Tue Aug  7 19:55:32 UTC 2018
New revision: 476623
URL: https://svnweb.freebsd.org/changeset/ports/476623

Log:
  Mk/Uses/cargo.mk: Fix crate name and version split (take 2)

  cargo.mk is still too eager in splitting a crate's name and version
  in two when the name contains a dash followed by a number.  For
  example with utf-8-0.7.4 the wrong URL ends up being used in
  MASTER_SITES

    .../utf/8-0.7.4/download/...

  instead of

    .../utf-8/0.7.4/download/...

  PR:           230413
  Reported by:  Thomas Hurst <tom at hur.st>

Changes:
  head/Mk/Uses/cargo.mk

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-ports-bugs mailing list