diff options
author | wiz <wiz@pkgsrc.org> | 2002-09-25 09:34:21 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2002-09-25 09:34:21 +0000 |
commit | 24f92a55c8153a763f23ab3dc2ff1acf8ce1f8c5 (patch) | |
tree | 46de9fe379b735fa3bc3684e8d2c81b1f73e760b /pkgtools/pkglint | |
parent | 12c111a747e547ece3c44db235f355f1670c1736 (diff) | |
download | pkgsrc-24f92a55c8153a763f23ab3dc2ff1acf8ce1f8c5.tar.gz |
Slight fix for 3.34, so that "cd /usr/pkgsrc; for i in */; do pkglint $i; done"
works. Bump to 3.35.
Diffstat (limited to 'pkgtools/pkglint')
-rw-r--r-- | pkgtools/pkglint/Makefile | 4 | ||||
-rw-r--r-- | pkgtools/pkglint/files/pkglint.pl | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/pkgtools/pkglint/Makefile b/pkgtools/pkglint/Makefile index d092c7bf2c8..064936afddb 100644 --- a/pkgtools/pkglint/Makefile +++ b/pkgtools/pkglint/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.138 2002/09/24 14:01:37 wiz Exp $ +# $NetBSD: Makefile,v 1.139 2002/09/25 09:34:21 wiz Exp $ # -DISTNAME= pkglint-3.34 +DISTNAME= pkglint-3.35 CATEGORIES= pkgtools devel MASTER_SITES= # empty DISTFILES= # empty diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl index e8b88b5729a..f2623750859 100644 --- a/pkgtools/pkglint/files/pkglint.pl +++ b/pkgtools/pkglint/files/pkglint.pl @@ -12,7 +12,7 @@ # Freely redistributable. Absolutely no warranty. # # From Id: portlint.pl,v 1.64 1998/02/28 02:34:05 itojun Exp -# $NetBSD: pkglint.pl,v 1.71 2002/09/24 14:01:38 wiz Exp $ +# $NetBSD: pkglint.pl,v 1.72 2002/09/25 09:34:22 wiz Exp $ # # This version contains lots of changes necessary for NetBSD packages # done by Hubert Feyrer <hubertf@netbsd.org>, @@ -1512,7 +1512,7 @@ sub category_check { local($sub) = ""; local($contents); - $contents = readmakefile($file) or + $contents = readmakefile("$portdir/$file") or &perror("FATAL: can't read $portdir/$file") and return 0; if ($contents !~ /#(\s+)\$$rcsidstr([^\$]*)\$/) { &perror("FATAL: no \$$rcsidstr\$ line in $file"); |