pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint/files Don't include buildlink3.mk fil...
details: https://anonhg.NetBSD.org/pkgsrc/rev/5789f4ecf86d
branches: trunk
changeset: 494168:5789f4ecf86d
user: rillig <rillig%pkgsrc.org@localhost>
date: Fri May 20 01:36:46 2005 +0000
description:
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:
pkgtools/pkglint/files/pkglint.pl | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (22 lines):
diff -r d72906e19c23 -r 5789f4ecf86d pkgtools/pkglint/files/pkglint.pl
--- a/pkgtools/pkglint/files/pkglint.pl Thu May 19 23:30:26 2005 +0000
+++ b/pkgtools/pkglint/files/pkglint.pl Fri May 20 01:36:46 2005 +0000
@@ -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@localhost>,
@@ -1098,7 +1098,8 @@
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;
}
Home |
Main Index |
Thread Index |
Old Index