pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint/files Allow "-" in Tool names.
details: https://anonhg.NetBSD.org/pkgsrc/rev/0326c76ecb7f
branches: trunk
changeset: 502471:0326c76ecb7f
user: rillig <rillig%pkgsrc.org@localhost>
date: Fri Nov 04 21:30:35 2005 +0000
description:
Allow "-" in Tool names.
diffstat:
pkgtools/pkglint/files/pkglint.pl | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r 98606b68163b -r 0326c76ecb7f pkgtools/pkglint/files/pkglint.pl
--- a/pkgtools/pkglint/files/pkglint.pl Fri Nov 04 21:27:06 2005 +0000
+++ b/pkgtools/pkglint/files/pkglint.pl Fri Nov 04 21:30:35 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.331 2005/11/04 20:39:49 rillig Exp $
+# $NetBSD: pkglint.pl,v 1.332 2005/11/04 21:30:35 rillig Exp $
#
# This version contains lots of changes necessary for NetBSD packages
# done by:
@@ -1576,7 +1576,7 @@
}
} elsif ($type eq "Tool") {
- if ($value =~ qr"^(\w+)(?::(\w+))?$") {
+ if ($value =~ qr"^([-\w]+)(?::(\w+))?$") {
my ($toolname, $tooldep) = ($1, $2);
if (!exists(get_tool_names()->{$toolname})) {
$line->log_error("Unknown tool \"${toolname}\".");
Home |
Main Index |
Thread Index |
Old Index