Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/pkgsrc/pkgtools/pkglint/files/Attic/toplevel.go,v rcsdiff: /ftp/cvs/cvsroot/pkgsrc/pkgtools/pkglint/files/Attic/toplevel.go,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.27 retrieving revision 1.28 diff -u -p -r1.27 -r1.28 --- pkgsrc/pkgtools/pkglint/files/Attic/toplevel.go 2019/12/08 00:06:38 1.27 +++ pkgsrc/pkgtools/pkglint/files/Attic/toplevel.go 2020/01/04 19:53:14 1.28 @@ -14,7 +14,7 @@ func CheckdirToplevel(dir CurrPath) { ctx := Toplevel{dir, "", nil} filename := dir.JoinNoClean("Makefile") - mklines := LoadMk(filename, NotEmpty|LogErrors) + mklines := LoadMk(filename, nil, NotEmpty|LogErrors) if mklines == nil { return } @@ -44,7 +44,7 @@ func (ctx *Toplevel) checkSubdir(mkline } } - if containsVarRef(subdir.String()) || !ctx.dir.JoinNoClean(subdir).JoinNoClean("Makefile").IsFile() { + if containsVarUse(subdir.String()) || !ctx.dir.JoinNoClean(subdir).JoinNoClean("Makefile").IsFile() { return }