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 emit a note for missing S...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5cf205ec2680
branches:  trunk
changeset: 514788:5cf205ec2680
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sun Jun 18 01:08:08 2006 +0000

description:
Don't emit a note for missing SUBST_MESSAGE. It's too hard to find a
nice description text for most of the SUBST blocks.

diffstat:

 pkgtools/pkglint/files/pkglint.pl |  5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diffs (20 lines):

diff -r e1a28e5e0226 -r 5cf205ec2680 pkgtools/pkglint/files/pkglint.pl
--- a/pkgtools/pkglint/files/pkglint.pl Sun Jun 18 01:02:45 2006 +0000
+++ b/pkgtools/pkglint/files/pkglint.pl Sun Jun 18 01:08:08 2006 +0000
@@ -1,5 +1,5 @@
 #! @PERL@
-# $NetBSD: pkglint.pl,v 1.630 2006/06/18 01:01:40 rillig Exp $
+# $NetBSD: pkglint.pl,v 1.631 2006/06/18 01:08:08 rillig Exp $
 #
 
 # pkglint - static analyzer and checker for pkgsrc packages
@@ -1360,9 +1360,6 @@
        if (!defined($self->subst_stage)) {
                $line->log_warning("Incomplete SUBST block: SUBST_STAGE missing.");
        }
-       if (!defined($self->subst_message)) {
-               $line->log_note("Incomplete SUBST block: SUBST_MESSAGE missing.");
-       }
        if (@{$self->subst_files} == 0) {
                $line->log_warning("Incomplete SUBST block: SUBST_FILES missing.");
        }



Home | Main Index | Thread Index | Old Index