diff options
author | rillig <rillig> | 2007-10-31 12:24:48 +0000 |
---|---|---|
committer | rillig <rillig> | 2007-10-31 12:24:48 +0000 |
commit | a5b8b88ebadf5bfbaf02eaa8e2aa141fa8bb8550 (patch) | |
tree | 4109e1a40b895edfbac64ace927fe4c3075e7e4d | |
parent | 4c007aa7171195316f996ee805091107641320bc (diff) | |
download | pkgsrc-a5b8b88ebadf5bfbaf02eaa8e2aa141fa8bb8550.tar.gz |
Do not print warnings about missing PLIST definitions for Perl modules
and other packages that set GENERATE_PLIST.
-rw-r--r-- | pkgtools/pkglint/files/pkglint.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl index 84c741bcda1..b5294cacc16 100644 --- a/pkgtools/pkglint/files/pkglint.pl +++ b/pkgtools/pkglint/files/pkglint.pl @@ -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") { |