pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint/files Improved an explanation for an ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4f6e457e47d1
branches:  trunk
changeset: 537291:4f6e457e47d1
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sat Jan 05 22:13:20 2008 +0000

description:
Improved an explanation for an error message, since the previous version
didn't really explain anything.

diffstat:

 pkgtools/pkglint/files/pkglint.pl |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (22 lines):

diff -r 177d3d4857ef -r 4f6e457e47d1 pkgtools/pkglint/files/pkglint.pl
--- a/pkgtools/pkglint/files/pkglint.pl Sat Jan 05 22:06:20 2008 +0000
+++ b/pkgtools/pkglint/files/pkglint.pl Sat Jan 05 22:13:20 2008 +0000
@@ -1,5 +1,5 @@
 #! @PERL@
-# $NetBSD: pkglint.pl,v 1.752 2008/01/05 21:54:50 rillig Exp $
+# $NetBSD: pkglint.pl,v 1.753 2008/01/05 22:13:20 rillig Exp $
 #
 
 # pkglint - static analyzer and checker for pkgsrc packages
@@ -7169,7 +7169,10 @@
                                if ($text =~ qr": Avoid regenerating within pkgsrc$") {
                                        $line->log_error("This code must not be included in patches.");
                                        $line->explain_error(
-                                               "It is generated automatically by pkgsrc after the patch phase.");
+"It is generated automatically by pkgsrc after the patch phase.",
+"",
+"For more details, look for \"configure-scripts-override\" in",
+"mk/configure/gnu-configure.mk.");
                                }
 
                        } elsif ($current_ftype eq "ignore") {



Home | Main Index | Thread Index | Old Index