diff options
author | maya <maya@pkgsrc.org> | 2019-09-09 08:08:02 +0000 |
---|---|---|
committer | maya <maya@pkgsrc.org> | 2019-09-09 08:08:02 +0000 |
commit | b30e27e7fe6d99982b69fee2b429cb840855533c (patch) | |
tree | 2065b0dfbb45a7a2334905aa242e6e06624bec2f | |
parent | 970ec549b2b14ae8a623305e09753d1c1589072c (diff) | |
download | pkgsrc-b30e27e7fe6d99982b69fee2b429cb840855533c.tar.gz |
url2pkg 2.33: fix cargo packaging typo.
We don't have a third match to the regex.
-rw-r--r-- | pkgtools/url2pkg/Makefile | 4 | ||||
-rw-r--r-- | pkgtools/url2pkg/files/url2pkg.pl | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/pkgtools/url2pkg/Makefile b/pkgtools/url2pkg/Makefile index 815f3db30fa..a232cc803c8 100644 --- a/pkgtools/url2pkg/Makefile +++ b/pkgtools/url2pkg/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.95 2019/08/18 13:32:21 rillig Exp $ +# $NetBSD: Makefile,v 1.96 2019/09/09 08:08:02 maya Exp $ -PKGNAME= url2pkg-2.32 +PKGNAME= url2pkg-2.33 CATEGORIES= pkgtools MAINTAINER= pkgsrc-users@NetBSD.org diff --git a/pkgtools/url2pkg/files/url2pkg.pl b/pkgtools/url2pkg/files/url2pkg.pl index 8dcf7338eee..b09d1c0180f 100644 --- a/pkgtools/url2pkg/files/url2pkg.pl +++ b/pkgtools/url2pkg/files/url2pkg.pl @@ -1,5 +1,5 @@ #! @PERL5@ -# $NetBSD: url2pkg.pl,v 1.63 2019/08/18 21:04:37 rillig Exp $ +# $NetBSD: url2pkg.pl,v 1.64 2019/09/09 08:08:02 maya Exp $ # # Copyright (c) 2010 The NetBSD Foundation, Inc. @@ -427,7 +427,7 @@ sub adjust_cargo() { while (defined(my $line = <CONF>)) { # "checksum cargo-package-name cargo-package-version if ($line =~ qr"^\"checksum\s(\S+)\s(\S+)") { - push(@build_vars, var("CARGO_CRATE_DEPENDS", "+=", "$2-$3")); + push(@build_vars, var("CARGO_CRATE_DEPENDS", "+=", "$1-$2")); } } close(CONF); |