summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2005-05-20 01:36:46 +0000
committerrillig <rillig@pkgsrc.org>2005-05-20 01:36:46 +0000
commita059ef5a87acf4593b15b9bdab7ffb285077e698 (patch)
treec9e1a0dfc974d43705458bc8246134738b8259f0 /pkgtools
parent8b95568e18cb79d1ed27bf4969c5781939dc087e (diff)
downloadpkgsrc-a059ef5a87acf4593b15b9bdab7ffb285077e698.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')
-rw-r--r--pkgtools/pkglint/files/pkglint.pl5
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;
}