pkgsrc-Changes archive

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

CVS commit: pkgsrc/pkgtools/lintpkgsrc/files



Module Name:    pkgsrc
Committed By:   rillig
Date:           Thu Aug 18 18:30:30 UTC 2022

Modified Files:
        pkgsrc/pkgtools/lintpkgsrc/files: lintpkgsrc.pl

Log Message:
lintpkgsrc: fix warning about bogus PKGREVISION for Git packages

(Since a few days.)


To generate a diff of this commit:
cvs rdiff -u -r1.123 -r1.124 pkgsrc/pkgtools/lintpkgsrc/files/lintpkgsrc.pl

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/pkgtools/lintpkgsrc/files/lintpkgsrc.pl
diff -u pkgsrc/pkgtools/lintpkgsrc/files/lintpkgsrc.pl:1.123 pkgsrc/pkgtools/lintpkgsrc/files/lintpkgsrc.pl:1.124
--- pkgsrc/pkgtools/lintpkgsrc/files/lintpkgsrc.pl:1.123        Thu Aug 18 18:28:08 2022
+++ pkgsrc/pkgtools/lintpkgsrc/files/lintpkgsrc.pl      Thu Aug 18 18:30:29 2022
@@ -1,5 +1,5 @@
 #!@PERL5@
-# $NetBSD: lintpkgsrc.pl,v 1.123 2022/08/18 18:28:08 rillig Exp $
+# $NetBSD: lintpkgsrc.pl,v 1.124 2022/08/18 18:30:29 rillig Exp $
 
 # Written by David Brownlee <abs%netbsd.org@localhost>.
 #
@@ -997,7 +997,7 @@ sub parse_makefile_pkgsrc($file) {
        if (defined $pkgrevision && $pkgrevision !~ /^\s*$/) {
                if ($pkgrevision =~ /^\$\{ (?:
                    _CVS_PKGVERSION |
-                   _GIT_PKGVERSION_CMD |
+                   _GIT_PKGVERSION |
                    _HG_PKGVERSION_CMD |
                    _SVN_PKGREVISION_CMD) :.* \}$ /x) {
                        # See wip/mk/*-package.mk.



Home | Main Index | Thread Index | Old Index