From afa387fb232cfd1eb13c49a5953bd304e814ab28 Mon Sep 17 00:00:00 2001 From: abs Date: Wed, 16 May 2001 11:36:47 +0000 Subject: Update pkglint to 2.52: Handle empty variable settings 'VAR=' in lintpkgsrc, to match recent postgresql package Makefiles --- pkgtools/pkglint/Makefile | 4 ++-- pkgtools/pkglint/files/lintpkgsrc.pl | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'pkgtools') 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 . # @@ -735,7 +735,7 @@ sub parse_makefile_vars next; } - if (/^ *(\w+)\s*([+?]?)=\s*(\S.*)/) + if (/^ *(\w+)\s*([+?]?)=\s*(.*)/) { $key = $1; $plus = $2; -- cgit v1.2.3