diff options
author | abs <abs@pkgsrc.org> | 2001-05-16 11:36:47 +0000 |
---|---|---|
committer | abs <abs@pkgsrc.org> | 2001-05-16 11:36:47 +0000 |
commit | b3edf2cfb253b709990e972f19b13670bf3d9251 (patch) | |
tree | fefc8afcb0fc6fbc5b4912c30296c54e1b73372a /pkgtools/pkglint | |
parent | 0121dd106b59e6968f6eebcdfe9c1db94eb36b0f (diff) | |
download | pkgsrc-b3edf2cfb253b709990e972f19b13670bf3d9251.tar.gz |
Update pkglint to 2.52:
Handle empty variable settings 'VAR=' in lintpkgsrc, to match
recent postgresql package Makefiles
Diffstat (limited to 'pkgtools/pkglint')
-rw-r--r-- | pkgtools/pkglint/Makefile | 4 | ||||
-rwxr-xr-x | pkgtools/pkglint/files/lintpkgsrc.pl | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/pkgtools/pkglint/Makefile b/pkgtools/pkglint/Makefile index fc220eb8ae6..e25335a837a 100644 --- a/pkgtools/pkglint/Makefile +++ b/pkgtools/pkglint/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.93 2001/05/12 15:19:14 wiz Exp $ +# $NetBSD: Makefile,v 1.94 2001/05/16 11:36:47 abs Exp $ # -DISTNAME= pkglint-2.51 +DISTNAME= pkglint-2.52 CATEGORIES= pkgtools devel MASTER_SITES= # empty DISTFILES= # empty diff --git a/pkgtools/pkglint/files/lintpkgsrc.pl b/pkgtools/pkglint/files/lintpkgsrc.pl index 3a6c022cf23..fba79ad5b50 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.47 2001/05/01 15:52:50 abs Exp $ +# $NetBSD: lintpkgsrc.pl,v 1.48 2001/05/16 11:36:47 abs Exp $ # Written by David Brownlee <abs@netbsd.org>. # @@ -735,7 +735,7 @@ sub parse_makefile_vars next; } - if (/^ *(\w+)\s*([+?]?)=\s*(\S.*)/) + if (/^ *(\w+)\s*([+?]?)=\s*(.*)/) { $key = $1; $plus = $2; |