diff options
author | abs <abs> | 2001-05-16 11:36:47 +0000 |
---|---|---|
committer | abs <abs> | 2001-05-16 11:36:47 +0000 |
commit | afa387fb232cfd1eb13c49a5953bd304e814ab28 (patch) | |
tree | fefc8afcb0fc6fbc5b4912c30296c54e1b73372a /pkgtools | |
parent | 1f7ce894642b5513ab4636c4ad8815cdc06b37f9 (diff) | |
download | pkgsrc-afa387fb232cfd1eb13c49a5953bd304e814ab28.tar.gz |
Update pkglint to 2.52:
Handle empty variable settings 'VAR=' in lintpkgsrc, to match
recent postgresql package Makefiles
Diffstat (limited to 'pkgtools')
-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; |