Subject: CVS commit: pkgsrc/pkgtools/pkglint
From: Roland Illig
Date: 2022-07-24 22:07:20
Message id: 20220724200720.90DDCFB1A@cvs.NetBSD.org

Log Message:
pkgtools/pkglint: update to 22.2.3

Changes since 22.2.2:

CHECK_WRKREF is known to pkglint, which prevents conditions using this
variable from being simplified in a wrong way.

For variables that are guaranteed to be defined, suggest to simplify the
condition '!empty(VAR:M[Yy][Ee][Ss])' to '${VAR:M[Yy][Ee][Ss]}', as that
reduces the number of negations in the condition.

Detect redundant WRKSRC definitions and suggest to remove them.

Fix wrong "c99 is not valid for USE_LANGUAGES" warnings.

Files:
RevisionActionfile
1.723modifypkgsrc/pkgtools/pkglint/Makefile
1.15modifypkgsrc/pkgtools/pkglint/files/mkassignchecker.go
1.14modifypkgsrc/pkgtools/pkglint/files/mkcondchecker.go
1.12modifypkgsrc/pkgtools/pkglint/files/mkcondchecker_test.go
1.45modifypkgsrc/pkgtools/pkglint/files/mkparser.go
1.27modifypkgsrc/pkgtools/pkglint/files/mktypes.go
1.91modifypkgsrc/pkgtools/pkglint/files/package_test.go
1.15modifypkgsrc/pkgtools/pkglint/files/redundantscope.go
1.105modifypkgsrc/pkgtools/pkglint/files/vardefs.go
1.101modifypkgsrc/pkgtools/pkglint/files/vartypecheck.go
1.93modifypkgsrc/pkgtools/pkglint/files/vartypecheck_test.go
1.1addpkgsrc/pkgtools/pkglint/files/mkcondsimplifier.go
1.1addpkgsrc/pkgtools/pkglint/files/mkcondsimplifier_test.go