diff options
author | wiz <wiz> | 2012-07-27 20:54:02 +0000 |
---|---|---|
committer | wiz <wiz> | 2012-07-27 20:54:02 +0000 |
commit | dcec4a77c7e44747defe24aff5fea503f310944c (patch) | |
tree | 3d9b70bfacb681a5dac7504a958cefb69bc8a698 | |
parent | 5f6c22f8afa8b3220aa8fba5dde5750ba19a409c (diff) | |
download | pkgsrc-dcec4a77c7e44747defe24aff5fea503f310944c.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.
-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."); |