summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorrillig <rillig>2006-02-07 21:44:39 +0000
committerrillig <rillig>2006-02-07 21:44:39 +0000
commit431ee6f138448ca81224ca9f2db8e6c3d72ab681 (patch)
tree224315b809993864e87fb7cfe0ad536f0fc80189 /pkgtools
parentbe9cdc5c9ef6cb70670139e266cfc59edead071a (diff)
downloadpkgsrc-431ee6f138448ca81224ca9f2db8e6c3d72ab681.tar.gz
- ../../pkgtools/x11-links/buildlink3.mk must not be included directly.
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/pkglint/files/pkglint.pl6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl
index 75f51c35f76..2c51289fe7b 100644
--- a/pkgtools/pkglint/files/pkglint.pl
+++ b/pkgtools/pkglint/files/pkglint.pl
@@ -1,5 +1,5 @@
#! @PERL@
-# $NetBSD: pkglint.pl,v 1.503 2006/02/07 09:49:09 rillig Exp $
+# $NetBSD: pkglint.pl,v 1.504 2006/02/07 21:44:39 rillig Exp $
#
# pkglint - static analyzer and checker for pkgsrc packages
@@ -3430,6 +3430,10 @@ sub checklines_mk($) {
$seen_bsd_prefs_mk = true;
}
+ if ($includefile =~ qr"/x11-links/buildlink3\.mk$") {
+ $line->log_error("${includefile} must not be included directly. Include \"../../mk/x11.buildlink3.mk\" instead.");
+ }
+
} elsif ($text =~ regex_mk_cond) {
my ($directive, $args) = ($1, $2);