diff options
-rw-r--r-- | pkgtools/pkglint/files/makevars.map | 4 | ||||
-rw-r--r-- | pkgtools/pkglint/files/pkglint.pl | 5 |
2 files changed, 7 insertions, 2 deletions
diff --git a/pkgtools/pkglint/files/makevars.map b/pkgtools/pkglint/files/makevars.map index b784d9e347c..0fb67b52da2 100644 --- a/pkgtools/pkglint/files/makevars.map +++ b/pkgtools/pkglint/files/makevars.map @@ -1,4 +1,4 @@ -# $NetBSD: makevars.map,v 1.69 2006/03/01 20:57:39 rillig Exp $ +# $NetBSD: makevars.map,v 1.70 2006/03/09 17:34:17 rillig Exp $ # # This file contains the guessed type of some variables, according to @@ -348,7 +348,9 @@ PTHREAD_OPTS List+ of { native optional require } PTHREAD_TYPE Readonly RCD_SCRIPTS List of Filename RCD_SCRIPT_SRC List of Pathname +REPLACE String REPLACE_EMACS List+ of Pathmask +REPLACE_FILES List of Pathmask REPLACE_INTERPRETER List+ of Identifier REPLACE_PERL List+ of Pathmask REQD_DIRS List+ of Pathname diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl index 1cf93fd37cc..8fce6ad1ba4 100644 --- a/pkgtools/pkglint/files/pkglint.pl +++ b/pkgtools/pkglint/files/pkglint.pl @@ -1,5 +1,5 @@ #! @PERL@ -# $NetBSD: pkglint.pl,v 1.544 2006/03/08 21:15:31 rillig Exp $ +# $NetBSD: pkglint.pl,v 1.545 2006/03/09 17:34:17 rillig Exp $ # # pkglint - static analyzer and checker for pkgsrc packages @@ -3258,6 +3258,9 @@ sub checkline_mk_vartype_basic($$$$$$$) { $line->log_warning("Invalid stage name. Use one of {pre,do,post}-{extract,patch,configure,build,install}."); } + } elsif ($type eq "String") { + # No further checks possible. + } elsif ($type eq "Tool") { if ($value =~ qr"^([-\w]+|\[)(?::(\w+))?$") { my ($toolname, $tooldep) = ($1, $2); |