From 3752ab8314548c692eae8f1c35acd12971ebf276 Mon Sep 17 00:00:00 2001 From: wiz Date: Mon, 3 Dec 2001 21:55:48 +0000 Subject: Handle PKGREVISION more properly, by allowing it being set, but empty. Bump to 3.16. --- pkgtools/pkglint/Makefile | 4 ++-- pkgtools/pkglint/files/lintpkgsrc.pl | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'pkgtools') diff --git a/pkgtools/pkglint/Makefile b/pkgtools/pkglint/Makefile index 1bdc2ab261d..ed29169296d 100644 --- a/pkgtools/pkglint/Makefile +++ b/pkgtools/pkglint/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.118 2001/12/03 18:20:49 abs Exp $ +# $NetBSD: Makefile,v 1.119 2001/12/03 21:55:48 wiz Exp $ # -DISTNAME= pkglint-3.15 +DISTNAME= pkglint-3.16 CATEGORIES= pkgtools devel MASTER_SITES= # empty DISTFILES= # empty diff --git a/pkgtools/pkglint/files/lintpkgsrc.pl b/pkgtools/pkglint/files/lintpkgsrc.pl index d810c835820..d4ad978ed44 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.58 2001/12/03 18:20:49 abs Exp $ +# $NetBSD: lintpkgsrc.pl,v 1.59 2001/12/03 21:55:50 wiz Exp $ # Written by David Brownlee . # @@ -642,7 +642,8 @@ sub parse_makefile_pkgsrc } if (defined $pkgname) { - if (defined $vars->{PKGREVISION}) + if (defined $vars->{PKGREVISION} + and not $vars->{PKGREVISION} =~ /^\s*$/ ) { $pkgname .= "nb"; $pkgname .= $vars->{PKGREVISION}; -- cgit v1.2.3