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