From 34e419b4e0ba4d2f0a969dc2566c8751ff3e3a80 Mon Sep 17 00:00:00 2001 From: wiz Date: Wed, 25 Sep 2002 09:34:21 +0000 Subject: Slight fix for 3.34, so that "cd /usr/pkgsrc; for i in */; do pkglint $i; done" works. Bump to 3.35. --- pkgtools/pkglint/Makefile | 4 ++-- pkgtools/pkglint/files/pkglint.pl | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'pkgtools') 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 , @@ -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"); -- cgit v1.2.3