summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorschmonz <schmonz>2002-12-10 14:30:36 +0000
committerschmonz <schmonz>2002-12-10 14:30:36 +0000
commitafd30a93c9b92fe655cfe0991ea8b276f97be97a (patch)
tree72f01664b0542fd2d06aaedd0742187f410db67e /pkgtools
parentdd47dd66d7fc9bb5d3b44681bd594a7d6658b466 (diff)
downloadpkgsrc-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')
-rw-r--r--pkgtools/pkglint/Makefile4
-rw-r--r--pkgtools/pkglint/files/pkglint.pl7
2 files changed, 8 insertions, 3 deletions
diff --git a/pkgtools/pkglint/Makefile b/pkgtools/pkglint/Makefile
index 5f1f091aede..554e6171308 100644
--- a/pkgtools/pkglint/Makefile
+++ b/pkgtools/pkglint/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.143 2002/12/10 12:42:40 wiz Exp $
+# $NetBSD: Makefile,v 1.144 2002/12/10 14:30:36 schmonz Exp $
#
-DISTNAME= pkglint-3.38
+DISTNAME= pkglint-3.39
CATEGORIES= pkgtools devel
MASTER_SITES= # empty
DISTFILES= # empty
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");