summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorwiz <wiz>2011-05-26 20:31:47 +0000
committerwiz <wiz>2011-05-26 20:31:47 +0000
commite416214fd42fa506d55abfcaecc6e84dbe1a7344 (patch)
tree873d002db0134f40823c386d6b989cc7066844c4 /pkgtools
parentabd80612f5de4e8e72010a7bd257ccf51b59acfc (diff)
downloadpkgsrc-e416214fd42fa506d55abfcaecc6e84dbe1a7344.tar.gz
Warn that one should NOT use jpeg, giflib, or libungif directly, but go through
mk/{jpeg,giflib}.buildlink3.mk instead. Bump version.
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/pkglint/Makefile4
-rw-r--r--pkgtools/pkglint/files/pkglint.pl11
2 files changed, 12 insertions, 3 deletions
diff --git a/pkgtools/pkglint/Makefile b/pkgtools/pkglint/Makefile
index 6993284874f..ec75c6aa7d1 100644
--- a/pkgtools/pkglint/Makefile
+++ b/pkgtools/pkglint/Makefile
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.389 2011/05/23 10:59:36 cheusov Exp $
+# $NetBSD: Makefile,v 1.390 2011/05/26 20:31:47 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.98
+DISTNAME= pkglint-4.99
CATEGORIES= pkgtools
MASTER_SITES= # none
DISTFILES= # none
diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl
index 2f22d6a70c1..2f1ced9a8a7 100644
--- a/pkgtools/pkglint/files/pkglint.pl
+++ b/pkgtools/pkglint/files/pkglint.pl
@@ -1,5 +1,5 @@
#! @PERL@
-# $NetBSD: pkglint.pl,v 1.826 2011/05/23 10:59:37 cheusov Exp $
+# $NetBSD: pkglint.pl,v 1.827 2011/05/26 20:31:47 wiz Exp $
#
# pkglint - static analyzer and checker for pkgsrc packages
@@ -6157,6 +6157,15 @@ sub checklines_mk($) {
if ($includefile =~ m"/x11-links/buildlink3\.mk$") {
$line->log_error("${includefile} must not be included directly. Include \"../../mk/x11.buildlink3.mk\" instead.");
}
+ if ($includefile =~ m"/giflib/buildlink3\.mk$") {
+ $line->log_error("${includefile} must not be included directly. Include \"../../mk/giflib.buildlink3.mk\" instead.");
+ }
+ if ($includefile =~ m"/jpeg/buildlink3\.mk$") {
+ $line->log_error("${includefile} must not be included directly. Include \"../../mk/jpeg.buildlink3.mk\" instead.");
+ }
+ if ($includefile =~ m"/libungif/buildlink3\.mk$") {
+ $line->log_error("${includefile} must not be included directly. Include \"../../mk/giflib.buildlink3.mk\" instead.");
+ }
if ($includefile =~ m"/intltool/buildlink3\.mk$") {
$line->log_warning("Please say \"USE_TOOLS+= intltool\" instead of this line.");
}