summaryrefslogtreecommitdiff
path: root/pkgtools/pkglint
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2012-09-15 10:55:15 +0000
committerwiz <wiz@pkgsrc.org>2012-09-15 10:55:15 +0000
commit448b47c694b7b2f0690e3548c252be43030bd5bc (patch)
treed2a786e3c2ac1f837876e63f926664bedba6335c /pkgtools/pkglint
parent881ffa1370542539d65feade516da334c5767fd5 (diff)
downloadpkgsrc-448b47c694b7b2f0690e3548c252be43030bd5bc.tar.gz
Do not warn about setting PKG_DESTDIR_SUPPORT any longer, it is now
set by default by the infrastructure. Remove highly obsolete TODO entry about destdir. Bump version.
Diffstat (limited to 'pkgtools/pkglint')
-rw-r--r--pkgtools/pkglint/Makefile4
-rw-r--r--pkgtools/pkglint/TODO5
-rw-r--r--pkgtools/pkglint/files/pkglint.pl6
3 files changed, 4 insertions, 11 deletions
diff --git a/pkgtools/pkglint/Makefile b/pkgtools/pkglint/Makefile
index 33300cc1ae6..f7bbe0b75f1 100644
--- a/pkgtools/pkglint/Makefile
+++ b/pkgtools/pkglint/Makefile
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.417 2012/09/11 23:19:38 asau Exp $
+# $NetBSD: Makefile,v 1.418 2012/09/15 10:55:15 wiz Exp $
#
# Note: if you update the version number, please have a look at the
# changes between the CVS tag "pkglint_current" and HEAD.
# After updating, please re-set the CVS tag to HEAD.
-DISTNAME= pkglint-4.123
+DISTNAME= pkglint-4.124
CATEGORIES= pkgtools
MASTER_SITES= # none
DISTFILES= # none
diff --git a/pkgtools/pkglint/TODO b/pkgtools/pkglint/TODO
index e2ff75403fa..0a14ece46fd 100644
--- a/pkgtools/pkglint/TODO
+++ b/pkgtools/pkglint/TODO
@@ -1,4 +1,4 @@
-$NetBSD: TODO,v 1.73 2010/03/11 20:54:19 rillig Exp $
+$NetBSD: TODO,v 1.74 2012/09/15 10:55:15 wiz Exp $
Please add your own entries at the bottom of this file. If possible,
include the name of an example package where a warning should occur.
@@ -47,9 +47,6 @@ PLIST regexes to sets of required packages, or something.
* don't complain about "procedure calls", like for pkg-build-options in
the various buildlink3.mk files.
-* To push DESTDIR support forward, it would be useful it pkglint warned
- like this if PKG_DESTDIR_SUPPORT is not defined:
- "WARN: Please consider adding DESTDIR support to the package."
%
diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl
index 770e536d398..a82519ae8e4 100644
--- a/pkgtools/pkglint/files/pkglint.pl
+++ b/pkgtools/pkglint/files/pkglint.pl
@@ -1,5 +1,5 @@
#! @PERL@
-# $NetBSD: pkglint.pl,v 1.846 2012/08/26 13:47:16 wiz Exp $
+# $NetBSD: pkglint.pl,v 1.847 2012/09/15 10:55:15 wiz Exp $
#
# pkglint - static analyzer and checker for pkgsrc packages
@@ -7097,10 +7097,6 @@ sub checkfile_package_Makefile($$) {
checkperms($fname);
- if (!exists($pkgctx_vardef->{"PKG_DESTDIR_SUPPORT"}) && !exists($pkgctx_vardef->{"META_PACKAGE"})) {
- log_warning($fname, NO_LINE_NUMBER, "This package has not set PKG_DESTDIR_SUPPORT.");
- }
-
if (!exists($pkgctx_vardef->{"PLIST_SRC"})
&& !exists($pkgctx_vardef->{"GENERATE_PLIST"})
&& !exists($pkgctx_vardef->{"META_PACKAGE"})