diff options
-rw-r--r-- | pkgtools/pkglint/Makefile | 4 | ||||
-rwxr-xr-x | pkgtools/pkglint/files/lintpkgsrc.pl | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/pkgtools/pkglint/Makefile b/pkgtools/pkglint/Makefile index 09c9325270f..d9f65548580 100644 --- a/pkgtools/pkglint/Makefile +++ b/pkgtools/pkglint/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.120 2001/12/15 20:25:39 agc Exp $ +# $NetBSD: Makefile,v 1.121 2001/12/20 03:31:51 wiz Exp $ # -DISTNAME= pkglint-3.16 +DISTNAME= pkglint-3.17 CATEGORIES= pkgtools devel MASTER_SITES= # empty DISTFILES= # empty diff --git a/pkgtools/pkglint/files/lintpkgsrc.pl b/pkgtools/pkglint/files/lintpkgsrc.pl index b79351f5286..ee88e47969f 100755 --- a/pkgtools/pkglint/files/lintpkgsrc.pl +++ b/pkgtools/pkglint/files/lintpkgsrc.pl @@ -1,6 +1,6 @@ #!@PREFIX@/bin/perl -# $NetBSD: lintpkgsrc.pl,v 1.60 2001/12/11 03:47:20 wiz Exp $ +# $NetBSD: lintpkgsrc.pl,v 1.61 2001/12/20 03:31:52 wiz Exp $ # Written by David Brownlee <abs@netbsd.org>. # @@ -797,7 +797,7 @@ sub parse_makefile_vars next; } - if (/^ *([\w\.]+)\s*([+?]?)=\s*(.*)/) + if (/^ *([-\w\.]+)\s*([+?]?)=\s*(.*)/) { $key = $1; $plus = $2; @@ -876,7 +876,7 @@ sub parse_expand_vars { my($line, $vars) = @_; - while ( $line =~ /\$\{([\w.]+)\}/ ) + while ( $line =~ /\$\{([-\w.]+)\}/ ) { if (defined(${$vars}{$1})) { $line = $`.${$vars}{$1}.$'; } |