pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint/files In PLIST files, "share/locale" ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c7a762141c38
branches:  trunk
changeset: 511593:c7a762141c38
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Tue Apr 18 00:01:48 2006 +0000

description:
In PLIST files, "share/locale" isn't deprecated anymore.

diffstat:

 pkgtools/pkglint/files/pkglint.pl |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (28 lines):

diff -r 4c3c0d2fb684 -r c7a762141c38 pkgtools/pkglint/files/pkglint.pl
--- a/pkgtools/pkglint/files/pkglint.pl Mon Apr 17 21:41:23 2006 +0000
+++ b/pkgtools/pkglint/files/pkglint.pl Tue Apr 18 00:01:48 2006 +0000
@@ -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 @@
        $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 @@
                        } 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/.");
                        }



Home | Main Index | Thread Index | Old Index