summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorwiz <wiz>2001-11-03 21:14:18 +0000
committerwiz <wiz>2001-11-03 21:14:18 +0000
commitb61bb3981b1688b67bfb00b9c43b54ce2f074f02 (patch)
tree4790a285612df9744c3020d798a3904ece091b57 /pkgtools
parent757ab0321cc3ec06393b682a0ca6174e042f775b (diff)
downloadpkgsrc-b61bb3981b1688b67bfb00b9c43b54ce2f074f02.tar.gz
Don't check Makefile and distinfo twice, and use checkplist again for PLIST.
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/pkglint/files/pkglint.pl7
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl
index 08739d342b8..791204aa615 100644
--- a/pkgtools/pkglint/files/pkglint.pl
+++ b/pkgtools/pkglint/files/pkglint.pl
@@ -12,7 +12,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.58 2001/10/31 18:39:27 zuntum Exp $
+# $NetBSD: pkglint.pl,v 1.59 2001/11/03 21:14:18 wiz Exp $
#
# This version contains lots of changes necessary for NetBSD packages
# done by Hubert Feyrer <hubertf@netbsd.org>,
@@ -133,10 +133,11 @@ if (! -f "$portdir/Makefile") {
if ($extrafile) {
foreach $i ((<$portdir/$scriptdir/*>, <$portdir/$pkgdir/*>)) {
next if (! -T $i);
+ next if ($i =~ /distinfo$/);
+ next if ($i =~ /Makefile$/);
$i =~ s/^\Q$portdir\E\///;
next if (defined $checker{$i});
- if ($i =~ /pkg\/PLIST$/ ||
- ($i =~ /pkg\/PLIST/)) {
+ if ($i =~ /PLIST/) {
unshift(@checker, $i);
$checker{$i} = 'checkplist';
} else {