summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-04-18 00:01:48 +0000
committerrillig <rillig@pkgsrc.org>2006-04-18 00:01:48 +0000
commit0f20f9fa289b15e46460328891d2601211a2155a (patch)
tree589f8af3f6ec6d375a90d93606fc4e62cfa78599
parent0f76aa9675ba334b83896cd09cd72f48b4423789 (diff)
downloadpkgsrc-0f20f9fa289b15e46460328891d2601211a2155a.tar.gz
In PLIST files, "share/locale" isn't deprecated anymore.
-rw-r--r--pkgtools/pkglint/files/pkglint.pl6
1 files changed, 2 insertions, 4 deletions
diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl
index de72bc03680..1a89a0d626f 100644
--- a/pkgtools/pkglint/files/pkglint.pl
+++ b/pkgtools/pkglint/files/pkglint.pl
@@ -1,5 +1,5 @@
#! @PERL@
-# $NetBSD: pkglint.pl,v 1.558 2006/04/14 12:27:00 rillig Exp $
+# $NetBSD: pkglint.pl,v 1.559 2006/04/18 00:01:48 rillig Exp $
#
# pkglint - static analyzer and checker for pkgsrc packages
@@ -1700,6 +1700,7 @@ sub load_tool_names() {
$vartools = {};
$predefined_vartools = {};
$varname_to_toolname = {};
+ # TODO: get the list of additional tool files from bsd.tools.mk
foreach my $basename (qw(autoconf automake defaults gettext ldconfig make replace rpcgen texinfo)) {
my $fname = "${current_dir}/${pkgsrcdir}/mk/tools/${basename}.mk";
my $lines = load_lines($fname, true);
@@ -4712,9 +4713,6 @@ sub checkfile_PLIST($) {
} elsif ($text =~ qr"^share/doc/html/") {
$opt_warn_plist_depr and $line->log_warning("Use of \"share/doc/html\" is deprecated. Use \"share/doc/\${PKGBASE}\" instead.");
- } elsif ($text =~ qr"^share/locale/") {
- $line->log_warning("Use of \"share/locale\" is deprecated. Use \${PKGLOCALEDIR}/locale and set USE_PKGLOCALEDIR instead.");
-
} elsif ($text =~ qr"^share/man/") {
$line->log_warning("Man pages should be installed into man/, not share/man/.");
}