From f0c1aba42f6f238a7ff6f26b4a6ff320d3b393cf Mon Sep 17 00:00:00 2001 From: grant Date: Thu, 22 Jan 2004 08:09:11 +0000 Subject: update to pkglint 3.67: catch deprecated USE_GMAKE. --- pkgtools/pkglint/Makefile | 4 ++-- pkgtools/pkglint/files/pkglint.pl | 7 ++++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/pkgtools/pkglint/Makefile b/pkgtools/pkglint/Makefile index 8d908d5db4f..f1328118ca9 100644 --- a/pkgtools/pkglint/Makefile +++ b/pkgtools/pkglint/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.176 2004/01/20 12:23:57 agc Exp $ +# $NetBSD: Makefile,v 1.177 2004/01/22 08:09:11 grant Exp $ # -DISTNAME= pkglint-3.66 +DISTNAME= pkglint-3.67 CATEGORIES= pkgtools devel MASTER_SITES= # empty DISTFILES= # empty diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl index 4e89ac79861..1236c34553e 100644 --- a/pkgtools/pkglint/files/pkglint.pl +++ b/pkgtools/pkglint/files/pkglint.pl @@ -11,7 +11,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.96 2004/01/20 12:23:58 agc Exp $ +# $NetBSD: pkglint.pl,v 1.97 2004/01/22 08:09:11 grant Exp $ # # This version contains lots of changes necessary for NetBSD packages # done by Hubert Feyrer , @@ -823,6 +823,11 @@ sub checkmakefile { &perror("FATAL: use of IGNORE deprecated, ". "use PKG_FAIL_REASON or PKG_SKIP_REASON instead."); } + print "OK: checking USE_GMAKE.\n" if ($verbose); + if ($whole =~ /\nUSE_GMAKE/) { + &perror("FATAL: use of USE_GMAKE deprecated, ". + "use USE_GNU_TOOLS+=make instead."); + } print "OK: checking for MKDIR.\n" if ($verbose); if ($whole =~ m|\${MKDIR}.*(\${PREFIX}[/0-9a-zA-Z\${}]*)|) { &perror("WARN: \${MKDIR} $1: consider using INSTALL_*_DIR"); -- cgit v1.2.3