diff options
author | rillig <rillig> | 2006-04-18 00:01:48 +0000 |
---|---|---|
committer | rillig <rillig> | 2006-04-18 00:01:48 +0000 |
commit | 7c84b31862d70183ca263baf2476eff2ebf94125 (patch) | |
tree | 589f8af3f6ec6d375a90d93606fc4e62cfa78599 /pkgtools | |
parent | 172bdc76cd421b31006183361667f7a571a314b0 (diff) | |
download | pkgsrc-7c84b31862d70183ca263baf2476eff2ebf94125.tar.gz |
In PLIST files, "share/locale" isn't deprecated anymore.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/pkglint/files/pkglint.pl | 6 |
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/."); } |