diff options
author | wiz <wiz@pkgsrc.org> | 2011-05-26 20:31:47 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2011-05-26 20:31:47 +0000 |
commit | cc93278de715e1fb4f2f8b90e039f1f9f749aaf9 (patch) | |
tree | 873d002db0134f40823c386d6b989cc7066844c4 /pkgtools | |
parent | 262650c2611fba0d4d40b8fdea9ef5820297e01f (diff) | |
download | pkgsrc-cc93278de715e1fb4f2f8b90e039f1f9f749aaf9.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/Makefile | 4 | ||||
-rw-r--r-- | pkgtools/pkglint/files/pkglint.pl | 11 |
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."); } |