diff options
author | schmonz <schmonz> | 2002-12-10 14:30:36 +0000 |
---|---|---|
committer | schmonz <schmonz> | 2002-12-10 14:30:36 +0000 |
commit | afd30a93c9b92fe655cfe0991ea8b276f97be97a (patch) | |
tree | 72f01664b0542fd2d06aaedd0742187f410db67e /pkgtools/pkglint/files | |
parent | dd47dd66d7fc9bb5d3b44681bd594a7d6658b466 (diff) | |
download | pkgsrc-afd30a93c9b92fe655cfe0991ea8b276f97be97a.tar.gz |
3.39: note that IGNORE is deprecated in favor of PKG_{FAIL,SKIP}_REASON.
Nudged by wiz@, who sees all.
Diffstat (limited to 'pkgtools/pkglint/files')
-rw-r--r-- | pkgtools/pkglint/files/pkglint.pl | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl index 76ea0a63754..dbbf3cac0c3 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.74 2002/12/10 12:42:40 wiz Exp $ +# $NetBSD: pkglint.pl,v 1.75 2002/12/10 14:30:36 schmonz Exp $ # # This version contains lots of changes necessary for NetBSD packages # done by Hubert Feyrer <hubertf@netbsd.org>, @@ -783,6 +783,11 @@ sub checkmakefile { &perror("WARN: use of NO_PACKAGE to enforce license ". "restrictions is deprecated."); } + print "OK: checking IGNORE.\n" if ($verbose); + if ($whole =~ /\nIGNORE/) { + &perror("FATAL: use of IGNORE deprecated, ". + "use PKG_FAIL_REASON or PKG_SKIP_REASON 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"); |