pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/url2pkg url2pkg 2.33: fix cargo packaging typo.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/278f5db8c45e
branches:  trunk
changeset: 401003:278f5db8c45e
user:      maya <maya%pkgsrc.org@localhost>
date:      Mon Sep 09 08:08:02 2019 +0000

description:
url2pkg 2.33: fix cargo packaging typo.

We don't have a third match to the regex.

diffstat:

 pkgtools/url2pkg/Makefile         |  4 ++--
 pkgtools/url2pkg/files/url2pkg.pl |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (31 lines):

diff -r e19de3dba1b2 -r 278f5db8c45e pkgtools/url2pkg/Makefile
--- a/pkgtools/url2pkg/Makefile Mon Sep 09 07:15:38 2019 +0000
+++ b/pkgtools/url2pkg/Makefile Mon Sep 09 08:08:02 2019 +0000
@@ -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@localhost
diff -r e19de3dba1b2 -r 278f5db8c45e pkgtools/url2pkg/files/url2pkg.pl
--- a/pkgtools/url2pkg/files/url2pkg.pl Mon Sep 09 07:15:38 2019 +0000
+++ b/pkgtools/url2pkg/files/url2pkg.pl Mon Sep 09 08:08:02 2019 +0000
@@ -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 @@
        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);



Home | Main Index | Thread Index | Old Index