diff options
author | rillig <rillig> | 2007-12-22 11:15:52 +0000 |
---|---|---|
committer | rillig <rillig> | 2007-12-22 11:15:52 +0000 |
commit | 274bfc447dc83c2265544c8f975781bebebd9c63 (patch) | |
tree | 2fddd7d8da7f315426a9344e0c8c57b692845c1b /pkgtools/pkglint | |
parent | df045cdadf2a6f3fc0f975af0c4e43ba015fcce5 (diff) | |
download | pkgsrc-274bfc447dc83c2265544c8f975781bebebd9c63.tar.gz |
GNU info pages should not be installed into share/info.
Diffstat (limited to 'pkgtools/pkglint')
-rw-r--r-- | pkgtools/pkglint/files/pkglint.pl | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl index 2e46ba052e8..660e550aff9 100644 --- a/pkgtools/pkglint/files/pkglint.pl +++ b/pkgtools/pkglint/files/pkglint.pl @@ -1,5 +1,5 @@ #! @PERL@ -# $NetBSD: pkglint.pl,v 1.740 2007/12/19 12:34:08 rillig Exp $ +# $NetBSD: pkglint.pl,v 1.741 2007/12/22 11:15:52 rillig Exp $ # # pkglint - static analyzer and checker for pkgsrc packages @@ -7360,8 +7360,7 @@ sub checkfile_PLIST($) { "", "Another reason, common for Perl packages, is that the PLIST is", "automatically generated. Since there is no use of the empty PLIST file,", -"it shouldn't be necessary. This should be fixed in the pkgsrc", -"infrastructure."); +"it shouldn't be necessary."); } # Get the list of all files from the PLIST. @@ -7591,6 +7590,11 @@ sub checkfile_PLIST($) { } elsif (defined($effective_pkgbase) && $text =~ qr"^share/\Q${effective_pkgbase}\E/") { # Fine. + } elsif ($text =~ qr"^share/info/") { + $line->log_warning("Info pages should be installed into info/, not share/info/."); + $line->explain_warning( +"To fix this, you should add INFO_FILES=yes to the package Makefile."); + } elsif ($text =~ qr"^share/locale/[\w\@_]+/LC_MESSAGES/[^/]+\.mo$") { # Fine. |