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 check the distinfo twice ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/31cf8de71912
branches: trunk
changeset: 498301:31cf8de71912
user: rillig <rillig%pkgsrc.org@localhost>
date: Fri Aug 19 15:32:50 2005 +0000
description:
Don't check the distinfo twice if it is defined as ./distinfo in the
package Makefile. This occurs for example in multimedia/gmplayer.
diffstat:
pkgtools/pkglint/files/pkglint.pl | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r 227c06195f75 -r 31cf8de71912 pkgtools/pkglint/files/pkglint.pl
--- a/pkgtools/pkglint/files/pkglint.pl Fri Aug 19 14:58:57 2005 +0000
+++ b/pkgtools/pkglint/files/pkglint.pl Fri Aug 19 15:32:50 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.242 2005/08/17 19:06:41 rillig Exp $
+# $NetBSD: pkglint.pl,v 1.243 2005/08/19 15:32:50 rillig Exp $
#
# This version contains lots of changes necessary for NetBSD packages
# done by:
@@ -2231,7 +2231,7 @@
}
push(@files, <${dir}/${filesdir}/*>);
push(@files, <${dir}/${patchdir}/*>);
- if ($distinfo_file ne "distinfo") {
+ if ($distinfo_file !~ qr"^(?:\./)?distinfo$") {
push(@files, "${dir}/${distinfo_file}");
}
$have_distinfo = false;
Home |
Main Index |
Thread Index |
Old Index