From dcec4a77c7e44747defe24aff5fea503f310944c Mon Sep 17 00:00:00 2001 From: wiz Date: Fri, 27 Jul 2012 20:54:02 +0000 Subject: 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. --- pkgtools/pkglint/files/pkglint.pl | 4 ++-- 1 file 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."); -- cgit v1.2.3