pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint/files Manually added some commonly us...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/18793e74a65d
branches:  trunk
changeset: 502472:18793e74a65d
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Fri Nov 04 21:43:12 2005 +0000

description:
Manually added some commonly used tool names.

diffstat:

 pkgtools/pkglint/files/pkglint.pl |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r 0326c76ecb7f -r 18793e74a65d pkgtools/pkglint/files/pkglint.pl
--- a/pkgtools/pkglint/files/pkglint.pl Fri Nov 04 21:30:35 2005 +0000
+++ b/pkgtools/pkglint/files/pkglint.pl Fri Nov 04 21:43:12 2005 +0000
@@ -11,7 +11,7 @@
 # Freely redistributable.  Absolutely no warranty.
 #
 # From Id: portlint.pl,v 1.64 1998/02/28 02:34:05 itojun Exp
-# $NetBSD: pkglint.pl,v 1.332 2005/11/04 21:30:35 rillig Exp $
+# $NetBSD: pkglint.pl,v 1.333 2005/11/04 21:43:12 rillig Exp $
 #
 # This version contains lots of changes necessary for NetBSD packages
 # done by:
@@ -1454,6 +1454,12 @@
                        }
                }
        }
+
+       # As long as there is no reliable way to get a list of all valid
+       # tool names, this is the best I can do.
+       foreach my $tool (qw(autoconf autoconf213 automake automake14 bdftopcf bison flex pkg-config)) {
+               $tools->{$tool} = true;
+       }
        $get_tool_names_value = $tools;
        return $get_tool_names_value;
 }



Home | Main Index | Thread Index | Old Index