summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2008-01-05 22:13:20 +0000
committerrillig <rillig@pkgsrc.org>2008-01-05 22:13:20 +0000
commitd332897390f2a660f7fa3580bcd88afe54c3f423 (patch)
tree7457cc54258be6990d5bccdd3620b89f96e79926 /pkgtools
parentf185f4e34c91ba006f2395716aa0dfd396952e67 (diff)
downloadpkgsrc-d332897390f2a660f7fa3580bcd88afe54c3f423.tar.gz
Improved an explanation for an error message, since the previous version
didn't really explain anything.
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/pkglint/files/pkglint.pl7
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl
index 11ec7cb7d71..ee198a35699 100644
--- a/pkgtools/pkglint/files/pkglint.pl
+++ b/pkgtools/pkglint/files/pkglint.pl
@@ -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 @@ sub checkfile_patch($) {
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") {