diff options
author | grant <grant@pkgsrc.org> | 2004-01-22 08:09:11 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2004-01-22 08:09:11 +0000 |
commit | f0c1aba42f6f238a7ff6f26b4a6ff320d3b393cf (patch) | |
tree | 39a2f245b092f1e18090fd330221109a734facad | |
parent | c044c82d67187200b4ab1b0d968e86cba336ffa1 (diff) | |
download | pkgsrc-f0c1aba42f6f238a7ff6f26b4a6ff320d3b393cf.tar.gz |
update to pkglint 3.67: catch deprecated USE_GMAKE.
-rw-r--r-- | pkgtools/pkglint/Makefile | 4 | ||||
-rw-r--r-- | 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 <hubertf@netbsd.org>, @@ -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"); |