pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint/files GNU info pages should not be in...
details: https://anonhg.NetBSD.org/pkgsrc/rev/c5d1aeb09fd7
branches: trunk
changeset: 536772:c5d1aeb09fd7
user: rillig <rillig%pkgsrc.org@localhost>
date: Sat Dec 22 11:15:52 2007 +0000
description:
GNU info pages should not be installed into share/info.
diffstat:
pkgtools/pkglint/files/pkglint.pl | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
diffs (32 lines):
diff -r b9ae03b06349 -r c5d1aeb09fd7 pkgtools/pkglint/files/pkglint.pl
--- a/pkgtools/pkglint/files/pkglint.pl Sat Dec 22 11:09:01 2007 +0000
+++ b/pkgtools/pkglint/files/pkglint.pl Sat Dec 22 11:15:52 2007 +0000
@@ -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 @@
"",
"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 @@
} 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.
Home |
Main Index |
Thread Index |
Old Index