diff options
author | wiz <wiz@pkgsrc.org> | 2007-03-02 05:54:18 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2007-03-02 05:54:18 +0000 |
commit | fc3f7b9811fe0899c45f39c75372dd8ae8750bf4 (patch) | |
tree | 4f0225a9b75328a4836f914a72792a613a27adc3 /pkgtools | |
parent | 0f5cbf8ae398c5af8b8efe36992dea12eba17607 (diff) | |
download | pkgsrc-fc3f7b9811fe0899c45f39c75372dd8ae8750bf4.tar.gz |
Remove support for obsolete and unused NO_PKG_REGISTER.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/pkglint/files/makevars.map | 3 | ||||
-rw-r--r-- | pkgtools/pkglint/files/pkglint.pl | 5 |
2 files changed, 3 insertions, 5 deletions
diff --git a/pkgtools/pkglint/files/makevars.map b/pkgtools/pkglint/files/makevars.map index c3c0f20756f..5a54589655e 100644 --- a/pkgtools/pkglint/files/makevars.map +++ b/pkgtools/pkglint/files/makevars.map @@ -1,4 +1,4 @@ -# $NetBSD: makevars.map,v 1.158 2007/02/20 12:38:32 uebayasi Exp $ +# $NetBSD: makevars.map,v 1.159 2007/03/02 05:54:18 wiz Exp $ # # This file contains the guessed type of some variables, according to @@ -457,7 +457,6 @@ NO_INSTALL_MANPAGES Yes [$package] NO_MTREE Yes [$package] NO_PACKAGE Message [m:s] NO_PKGTOOLS_REQD_CHECK Yes [m:s] -NO_PKG_REGISTER Yes [m:s] NO_SRC_ON_CDROM Restricted [m:s,c:s] NO_SRC_ON_FTP Restricted [m:s,c:s] ONLY_FOR_COMPILER List of { ccc gcc icc ido mipspro mipspro-ucode sunpro xlc } [$package_list] diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl index 324519d1967..2d5646ddb18 100644 --- a/pkgtools/pkglint/files/pkglint.pl +++ b/pkgtools/pkglint/files/pkglint.pl @@ -1,5 +1,5 @@ #! @PERL@ -# $NetBSD: pkglint.pl,v 1.701 2007/02/23 01:46:02 rillig Exp $ +# $NetBSD: pkglint.pl,v 1.702 2007/03/02 05:54:18 wiz Exp $ # # pkglint - static analyzer and checker for pkgsrc packages @@ -6696,11 +6696,10 @@ sub checkfile_package_Makefile($$$) { checkperms($fname); if (!exists($pkgctx_vardef->{"PLIST_SRC"}) - && !exists($pkgctx_vardef->{"NO_PKG_REGISTER"}) && defined($pkgdir) && !-f "${current_dir}/$pkgdir/PLIST" && !-f "${current_dir}/$pkgdir/PLIST.common") { - log_warning($fname, NO_LINE_NUMBER, "Neither PLIST nor PLIST.common exist, and PLIST_SRC and NO_PKG_REGISTER are unset. Are you sure PLIST handling is ok?"); + log_warning($fname, NO_LINE_NUMBER, "Neither PLIST nor PLIST.common exist, and PLIST_SRC is unset. Are you sure PLIST handling is ok?"); } if (exists($pkgctx_vardef->{"NO_CHECKSUM"}) && is_emptydir("${current_dir}/${patchdir}")) { |