pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint/files Added the command line option -...
details: https://anonhg.NetBSD.org/pkgsrc/rev/3467d8d94dd1
branches: trunk
changeset: 498316:3467d8d94dd1
user: rillig <rillig%pkgsrc.org@localhost>
date: Fri Aug 19 17:32:13 2005 +0000
description:
Added the command line option -CDESCR, for consistency.
diffstat:
pkgtools/pkglint/files/pkglint.pl | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (37 lines):
diff -r c79a0fe7d24b -r 3467d8d94dd1 pkgtools/pkglint/files/pkglint.pl
--- a/pkgtools/pkglint/files/pkglint.pl Fri Aug 19 17:20:33 2005 +0000
+++ b/pkgtools/pkglint/files/pkglint.pl Fri Aug 19 17:32:13 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.245 2005/08/19 16:08:08 rillig Exp $
+# $NetBSD: pkglint.pl,v 1.246 2005/08/19 17:32:13 rillig Exp $
#
# This version contains lots of changes necessary for NetBSD packages
# done by:
@@ -309,6 +309,7 @@
"-v|--verbose" => "print progress messages",
);
+my $opt_check_DESCR = true;
my $opt_check_distinfo = true;
my $opt_check_extra = true;
my $opt_check_bl3 = true;
@@ -317,6 +318,7 @@
my $opt_check_patches = true;
my $opt_check_PLIST = true;
my (%checks) = (
+ "DESCR" => [\$opt_check_DESCR, "check DESCR file"],
"distinfo" => [\$opt_check_distinfo, "check distinfo file"],
"bl3" => [\$opt_check_bl3, "check buildlink3 files"],
"extra" => [\$opt_check_extra, "check various additional files"],
@@ -2252,7 +2254,7 @@
$opt_check_bl3 and checkfile_buildlink3_mk($dir, $f);
} elsif ($f =~ qr"/DESCR[^/]*$") {
- checkfile_DESCR($dir, $f);
+ $opt_check_DESCR and checkfile_DESCR($dir, $f);
} elsif ($f =~ qr"/distinfo$") {
$have_distinfo = true;
Home |
Main Index |
Thread Index |
Old Index