summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorrillig <rillig>2006-10-06 18:58:55 +0000
committerrillig <rillig>2006-10-06 18:58:55 +0000
commit07fcc2951c96f564526fa5cfac8845fc94ea0d46 (patch)
treef39b1c04938bd0a8e84db945ad384a40f2078066 /pkgtools
parent807c851eeb83775ec0d64a51a47587b12081f65f (diff)
downloadpkgsrc-07fcc2951c96f564526fa5cfac8845fc94ea0d46.tar.gz
Added a check that suggests using meta-pkgs/kde3/kde3.mk instead of
hand-tuning the directories where KDE files are installed.
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);