diff options
author | wiz <wiz@pkgsrc.org> | 2012-07-27 20:54:02 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2012-07-27 20:54:02 +0000 |
commit | d178461ad6951aa7820e7a3c5acd4d03c08b61f6 (patch) | |
tree | 3d9b70bfacb681a5dac7504a958cefb69bc8a698 /pkgtools/pkglint | |
parent | f8d5d8bace943dd90bf4579b4bf42eb386f598b4 (diff) | |
download | pkgsrc-d178461ad6951aa7820e7a3c5acd4d03c08b61f6.tar.gz |
Improve warning about gettext/msgfmt dependency.
In another part pkglint already knows that BUILD_USES_MSGFMT is deprecated,
so a second run would have provided the correct answer.
Diffstat (limited to 'pkgtools/pkglint')
-rw-r--r-- | pkgtools/pkglint/files/pkglint.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl index 986536b55fb..1cbcbdb6c68 100644 --- a/pkgtools/pkglint/files/pkglint.pl +++ b/pkgtools/pkglint/files/pkglint.pl @@ -1,5 +1,5 @@ #! @PERL@ -# $NetBSD: pkglint.pl,v 1.842 2012/07/17 19:24:46 wiz Exp $ +# $NetBSD: pkglint.pl,v 1.843 2012/07/27 20:54:02 wiz Exp $ # # pkglint - static analyzer and checker for pkgsrc packages @@ -5000,7 +5000,7 @@ sub checkline_mk_vartype_basic($$$$$$$$) { checkline_relative_pkgdir($line, $relpath); if ($pkg eq "msgfmt" || $pkg eq "gettext") { - $line->log_warning("Please use BUILD_USES_MSGFMT=yes instead of this dependency."); + $line->log_warning("Please use USE_TOOLS+=msgfmt instead of this dependency."); } elsif ($pkg =~ m"^perl\d+") { $line->log_warning("Please use USE_TOOLS+=perl:run instead of this dependency."); |