diff options
author | rillig <rillig@pkgsrc.org> | 2005-11-10 11:14:03 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2005-11-10 11:14:03 +0000 |
commit | bfe651305d3aa561f353a38b3e4c2cbddf0b5f65 (patch) | |
tree | 10e91ab0aad39cdc37c450a44d1f872575938b4d /pkgtools | |
parent | f619b2875c71d5b0bc9b48237b09b2084f90f651 (diff) | |
download | pkgsrc-bfe651305d3aa561f353a38b3e4c2cbddf0b5f65.tar.gz |
- Improved the detection of tool names once more.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/pkglint/files/pkglint.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl index 69d6405c91f..a1640fb1c3b 100644 --- a/pkgtools/pkglint/files/pkglint.pl +++ b/pkgtools/pkglint/files/pkglint.pl @@ -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.344 2005/11/10 11:03:57 rillig Exp $ +# $NetBSD: pkglint.pl,v 1.345 2005/11/10 11:14:03 rillig Exp $ # # This version contains lots of changes necessary for NetBSD packages # done by: @@ -1475,7 +1475,7 @@ sub get_tool_names() { my ($varname, undef, $value, undef) = ($1, $2, $3, $4); if ($varname eq "TOOLS_CREATE" && $value =~ qr"^([-\w.]+)$") { $tools->{$value} = true; - } elsif ($varname =~ qr"^(?:TOOLS_PATH|_TOOLS_VARNAME)\.([-\w.]+)$") { + } elsif ($varname =~ qr"^(?:TOOLS_PATH|_TOOLS_DEPMETHOD|_TOOLS_VARNAME)\.([-\w.]+)$") { $tools->{$1} = true; } } |