diff options
author | wiz <wiz> | 2001-12-03 21:55:48 +0000 |
---|---|---|
committer | wiz <wiz> | 2001-12-03 21:55:48 +0000 |
commit | 3752ab8314548c692eae8f1c35acd12971ebf276 (patch) | |
tree | ba5e58bfcdaa35d40988eec79eade17fdbc76417 /pkgtools/pkglint/files | |
parent | 8e5458c13abc5e8d6d520de2b8f02a5d59b8c302 (diff) | |
download | pkgsrc-3752ab8314548c692eae8f1c35acd12971ebf276.tar.gz |
Handle PKGREVISION more properly, by allowing it being set, but empty.
Bump to 3.16.
Diffstat (limited to 'pkgtools/pkglint/files')
-rwxr-xr-x | pkgtools/pkglint/files/lintpkgsrc.pl | 5 |
1 files changed, 3 insertions, 2 deletions
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 <abs@netbsd.org>. # @@ -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}; |