Do not print warnings about missing PLIST definitions for Perl modules

and other packages that set GENERATE_PLIST.
This commit is contained in:
rillig 2007-10-31 12:24:48 +00:00
parent 48bf740968
commit c31aa0c714

View file

@ -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 @@ sub checkfile_package_Makefile($$$) {
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") {