From 694780dbd902734a6d6db9fcc15e8985a132feb9 Mon Sep 17 00:00:00 2001 From: rh Date: Sat, 11 Jan 2003 04:42:57 +0000 Subject: Update pkglint to 3.42: * Add a PKGLOCALEDIR check to pkglint: warn if PKGLOCALEDIR is in PLIST, USE_BUILDLINK2 is set, and USE_PKGLOCALEDIR is not set. --- pkgtools/pkglint/Makefile | 4 ++-- pkgtools/pkglint/files/pkglint.pl | 17 ++++++++++++++++- 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/pkgtools/pkglint/Makefile b/pkgtools/pkglint/Makefile index 6adca67a3f4..7480a5ed92f 100644 --- a/pkgtools/pkglint/Makefile +++ b/pkgtools/pkglint/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.146 2003/01/02 22:58:41 schmonz Exp $ +# $NetBSD: Makefile,v 1.147 2003/01/11 04:42:57 rh Exp $ # -DISTNAME= pkglint-3.41 +DISTNAME= pkglint-3.42 CATEGORIES= pkgtools devel MASTER_SITES= # empty DISTFILES= # empty diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl index ddda3cc1d0e..8e7eb7ca921 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.77 2003/01/02 22:58:43 schmonz Exp $ +# $NetBSD: pkglint.pl,v 1.78 2003/01/11 04:42:57 rh Exp $ # # This version contains lots of changes necessary for NetBSD packages # done by Hubert Feyrer , @@ -89,6 +89,8 @@ $sharedocused = 0; $seen_PLIST_SRC = 0; $seen_NO_PKG_REGISTER = 0; $seen_NO_CHECKSUM = 0; +$seen_USE_PKGLOCALEDIR = 0; +$seen_USE_BUILDLINK2 = 0; %predefined = (); foreach $i (split("\n", <