pkgsrc-Changes archive

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

CVS commit: pkgsrc/pkgtools/pkglint



Module Name:    pkgsrc
Committed By:   rillig
Date:           Mon Jun 22 06:35:03 UTC 2020

Modified Files:
        pkgsrc/pkgtools/pkglint: Makefile
        pkgsrc/pkgtools/pkglint/files: mkvarusechecker.go

Log Message:
pkgtools/pkglint: update to 20.1.19

Changes since 20.1.18:

Fixed a wrong warning about unknown buildlink identifier "lua" in
mail/neomutt, reported by wiz.


To generate a diff of this commit:
cvs rdiff -u -r1.658 -r1.659 pkgsrc/pkgtools/pkglint/Makefile
cvs rdiff -u -r1.11 -r1.12 pkgsrc/pkgtools/pkglint/files/mkvarusechecker.go

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

Modified files:

Index: pkgsrc/pkgtools/pkglint/Makefile
diff -u pkgsrc/pkgtools/pkglint/Makefile:1.658 pkgsrc/pkgtools/pkglint/Makefile:1.659
--- pkgsrc/pkgtools/pkglint/Makefile:1.658      Sat Jun 20 07:00:44 2020
+++ pkgsrc/pkgtools/pkglint/Makefile    Mon Jun 22 06:35:02 2020
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.658 2020/06/20 07:00:44 rillig Exp $
+# $NetBSD: Makefile,v 1.659 2020/06/22 06:35:02 rillig Exp $
 
-PKGNAME=       pkglint-20.1.18
+PKGNAME=       pkglint-20.1.19
 CATEGORIES=    pkgtools
 DISTNAME=      tools
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=golang/}

Index: pkgsrc/pkgtools/pkglint/files/mkvarusechecker.go
diff -u pkgsrc/pkgtools/pkglint/files/mkvarusechecker.go:1.11 pkgsrc/pkgtools/pkglint/files/mkvarusechecker.go:1.12
--- pkgsrc/pkgtools/pkglint/files/mkvarusechecker.go:1.11       Fri Jun 12 19:14:45 2020
+++ pkgsrc/pkgtools/pkglint/files/mkvarusechecker.go    Mon Jun 22 06:35:02 2020
@@ -168,6 +168,14 @@ func (ck *MkVarUseChecker) checkVarnameB
                return
        }
 
+       // lang/lua/buildlink3.mk defines BUILDLINK_PREFIX.lua but
+       // doesn't add it to BUILDLINK_TREE. Only the versioned
+       // buildlink identifier (lua53) is added to BUILDLINK_TREE.
+       // This is unusual.
+       if pkg.vars.IsDefined(varname) {
+               return
+       }
+
        // Several packages contain Makefile fragments that are more related
        // to the buildlink3.mk file than to the package Makefile.
        // These may use the buildlink identifier from the package itself.



Home | Main Index | Thread Index | Old Index