summaryrefslogtreecommitdiff
path: root/pkgtools/pkglint/files/package.go
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2019-01-13 19:55:52 +0000
committerrillig <rillig@pkgsrc.org>2019-01-13 19:55:52 +0000
commit6ff3280b7b7dc7d0451f54fa081477885b3468fa (patch)
tree14ffcecb732e69ca7447d66c11f98ae0d58b4002 /pkgtools/pkglint/files/package.go
parent74c1dce01aea03b6d5d449e15507220926a2d6a5 (diff)
downloadpkgsrc-6ff3280b7b7dc7d0451f54fa081477885b3468fa.tar.gz
pkgtools/pkglint: update to 5.6.11
Changes since 5.6.10: * Improved the wording of several warnings * Fixed parsing of complicated dependency patterns such as {ssh{,6}-[0-9]*,openssh-[0-9]*}. Pkglint still doesn't understand them but at least it doesn't mark them as "unknown" anymore. * Lots of refactoring, as usual. This is the last part of the big refactoring, therefore future changes to pkglint are expected to be smaller than in the previous 3 months.
Diffstat (limited to 'pkgtools/pkglint/files/package.go')
-rw-r--r--pkgtools/pkglint/files/package.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgtools/pkglint/files/package.go b/pkgtools/pkglint/files/package.go
index a3a5453efe5..032436104cb 100644
--- a/pkgtools/pkglint/files/package.go
+++ b/pkgtools/pkglint/files/package.go
@@ -317,7 +317,9 @@ func (pkg *Package) readMakefile(filename string, mainLines MkLines, allLines Mk
//
// Disabled for now since it increases the running time by about 20%
// and produces many new warnings, which must be evaluated first.
- if false && path.Base(filename) == "buildlink3.mk" {
+ //
+ // TODO: Remove the G.Testing below.
+ if G.Testing && path.Base(filename) == "buildlink3.mk" {
builtin := path.Join(path.Dir(filename), "builtin.mk")
if fileExists(builtin) {
pkg.readMakefile(builtin, mainLines, allLines, "")
@@ -553,7 +555,7 @@ func (pkg *Package) checkUpdate() {
return
}
- for _, sugg := range G.Pkgsrc.GetSuggestedPackageUpdates() {
+ for _, sugg := range G.Pkgsrc.SuggestedUpdates() {
if pkg.EffectivePkgbase != sugg.Pkgname {
continue
}