pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint/files Do not print warnings about mis...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/35bb6ea6c3de
branches:  trunk
changeset: 534766:35bb6ea6c3de
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Wed Oct 31 12:24:48 2007 +0000

description:
Do not print warnings about missing PLIST definitions for Perl modules
and other packages that set GENERATE_PLIST.

diffstat:

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

diffs (18 lines):

diff -r eaecab9c2db7 -r 35bb6ea6c3de pkgtools/pkglint/files/pkglint.pl
--- a/pkgtools/pkglint/files/pkglint.pl Wed Oct 31 12:20:07 2007 +0000
+++ b/pkgtools/pkglint/files/pkglint.pl Wed Oct 31 12:24:48 2007 +0000
@@ -1,5 +1,5 @@
 #! @PERL@
-# $NetBSD: pkglint.pl,v 1.723 2007/10/31 12:20:07 rillig Exp $
+# $NetBSD: pkglint.pl,v 1.724 2007/10/31 12:24:48 rillig Exp $
 #
 
 # pkglint - static analyzer and checker for pkgsrc packages
@@ -6795,6 +6795,7 @@
        checkperms($fname);
 
        if (!exists($pkgctx_vardef->{"PLIST_SRC"})
+           && !exists($pkgctx_vardef->{"GENERATE_PLIST"})
            && defined($pkgdir)
            && !-f "${current_dir}/$pkgdir/PLIST"
            && !-f "${current_dir}/$pkgdir/PLIST.common") {



Home | Main Index | Thread Index | Old Index