pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint/files Another tool modifier, :bootstr...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/434205f1356a
branches:  trunk
changeset: 516097:434205f1356a
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Fri Jul 14 04:54:58 2006 +0000

description:
Another tool modifier, :bootstrap, has been added.

diffstat:

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

diffs (19 lines):

diff -r 09401f9a85a6 -r 434205f1356a pkgtools/pkglint/files/pkglint.pl
--- a/pkgtools/pkglint/files/pkglint.pl Thu Jul 13 23:36:18 2006 +0000
+++ b/pkgtools/pkglint/files/pkglint.pl Fri Jul 14 04:54:58 2006 +0000
@@ -1,5 +1,5 @@
 #! @PERL@
-# $NetBSD: pkglint.pl,v 1.645 2006/07/12 19:34:30 rillig Exp $
+# $NetBSD: pkglint.pl,v 1.646 2006/07/14 04:54:58 rillig Exp $
 #
 
 # pkglint - static analyzer and checker for pkgsrc packages
@@ -4809,7 +4809,7 @@
                        if (!exists(get_tool_names()->{$toolname})) {
                                $line->log_error("Unknown tool \"${toolname}\".");
                        }
-                       if (defined($tooldep) && $tooldep !~ qr"^(?:build|pkgsrc|run)$") {
+                       if (defined($tooldep) && $tooldep !~ qr"^(?:bootstrap|build|pkgsrc|run)$") {
                                $line->log_error("Unknown tool dependency \"${tooldep}\". Use one of \"build\", \"pkgsrc\" or \"run\".");
                        }
                } else {



Home | Main Index | Thread Index | Old Index