diff options
author | rillig <rillig@pkgsrc.org> | 2007-12-22 11:15:52 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2007-12-22 11:15:52 +0000 |
commit | b1359ad5fd1c9420c62e04e1c0f4e2ed5019ed87 (patch) | |
tree | 2fddd7d8da7f315426a9344e0c8c57b692845c1b | |
parent | 505327980aa018382fe75aece3cb27d443d834fc (diff) | |
download | pkgsrc-b1359ad5fd1c9420c62e04e1c0f4e2ed5019ed87.tar.gz |
GNU info pages should not be installed into share/info.
-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. |