diff options
author | rillig <rillig> | 2005-05-20 01:36:46 +0000 |
---|---|---|
committer | rillig <rillig> | 2005-05-20 01:36:46 +0000 |
commit | e61dfbe17ec35bbebafdc825e8dc2400e5a7a8e3 (patch) | |
tree | c9e1a0dfc974d43705458bc8246134738b8259f0 /pkgtools/pkglint/files | |
parent | 624a43b08c30c8636a7f8952325aa5c54a04bbc9 (diff) | |
download | pkgsrc-e61dfbe17ec35bbebafdc825e8dc2400e5a7a8e3.tar.gz |
Don't include buildlink3.mk files when reading the Makefile. This
results in much less false warnings, but sadly adds some to the
koffice-18n packages. The main reason for this change is that the
execution time of pkglint is reduced by 20%.
Diffstat (limited to 'pkgtools/pkglint/files')
-rw-r--r-- | pkgtools/pkglint/files/pkglint.pl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl index 62155076c3f..2b197419b51 100644 --- a/pkgtools/pkglint/files/pkglint.pl +++ b/pkgtools/pkglint/files/pkglint.pl @@ -11,7 +11,7 @@ # Freely redistributable. Absolutely no warranty. # # From Id: portlint.pl,v 1.64 1998/02/28 02:34:05 itojun Exp -# $NetBSD: pkglint.pl,v 1.158 2005/05/19 11:47:18 rillig Exp $ +# $NetBSD: pkglint.pl,v 1.159 2005/05/20 01:36:46 rillig Exp $ # # This version contains lots of changes necessary for NetBSD packages # done by Hubert Feyrer <hubertf@netbsd.org>, @@ -1098,7 +1098,8 @@ sub readmakefile($) { if ($includefile =~ /\"([^\"]+)\"/) { $includefile = $1; } - if (exists($seen_Makefile_include{$includefile})) { + if (exists($seen_Makefile_include{$includefile}) + || $includefile =~ qr"/buildlink3.mk$") { $contents .= "### pkglint ### skipped $includefile\n"; next; } |