Do not print warnings about missing PLIST definitions for Perl modules
and other packages that set GENERATE_PLIST.
This commit is contained in:
parent
48bf740968
commit
c31aa0c714
1 changed files with 2 additions and 1 deletions
|
@ -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") {
|
||||
|
|
Loading…
Reference in a new issue