Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint pkgtools/pkglint: update to 20.1.19



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2e453abfbf3b
branches:  trunk
changeset: 434812:2e453abfbf3b
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Mon Jun 22 06:35:02 2020 +0000

description:
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.

diffstat:

 pkgtools/pkglint/Makefile                 |  4 ++--
 pkgtools/pkglint/files/mkvarusechecker.go |  8 ++++++++
 2 files changed, 10 insertions(+), 2 deletions(-)

diffs (30 lines):

diff -r a5576881ff0d -r 2e453abfbf3b pkgtools/pkglint/Makefile
--- a/pkgtools/pkglint/Makefile Mon Jun 22 06:24:25 2020 +0000
+++ b/pkgtools/pkglint/Makefile Mon Jun 22 06:35:02 2020 +0000
@@ -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/}
diff -r a5576881ff0d -r 2e453abfbf3b pkgtools/pkglint/files/mkvarusechecker.go
--- a/pkgtools/pkglint/files/mkvarusechecker.go Mon Jun 22 06:24:25 2020 +0000
+++ b/pkgtools/pkglint/files/mkvarusechecker.go Mon Jun 22 06:35:02 2020 +0000
@@ -168,6 +168,14 @@
                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