summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/pkglint/files/pkglint.pl10
1 files changed, 9 insertions, 1 deletions
diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl
index aa4d2eecc56..8e966649c6c 100644
--- a/pkgtools/pkglint/files/pkglint.pl
+++ b/pkgtools/pkglint/files/pkglint.pl
@@ -1,5 +1,5 @@
#! @PERL@
-# $NetBSD: pkglint.pl,v 1.678 2006/10/05 21:09:31 rillig Exp $
+# $NetBSD: pkglint.pl,v 1.679 2006/10/06 18:58:55 rillig Exp $
#
# pkglint - static analyzer and checker for pkgsrc packages
@@ -5470,6 +5470,14 @@ sub checkline_mk_varassign($$$$$) {
}
}
+ if ($varname eq "CONFIGURE_ARGS" && $value =~ qr"=\$\{PREFIX\}/share/kde") {
+ $line->log_note("Please .include \"../../meta-pkgs/kde3/kde3.mk\" instead of this line.");
+ $line->explain_note(
+ "That file probably does many things automatically and consistently that",
+ "this package also does. When using kde3.mk, you can probably also leave",
+ "out some explicit dependencies.");
+ }
+
if ($varname eq "EVAL_PREFIX" && $value =~ qr"^([\w_]+)=") {
my ($eval_varname) = ($1);