pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint/files - ../../pkgtools/x11-links/buil...
details: https://anonhg.NetBSD.org/pkgsrc/rev/d689aa1de204
branches: trunk
changeset: 507758:d689aa1de204
user: rillig <rillig%pkgsrc.org@localhost>
date: Tue Feb 07 21:44:39 2006 +0000
description:
- ../../pkgtools/x11-links/buildlink3.mk must not be included directly.
diffstat:
pkgtools/pkglint/files/pkglint.pl | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r 01545893e4e2 -r d689aa1de204 pkgtools/pkglint/files/pkglint.pl
--- a/pkgtools/pkglint/files/pkglint.pl Tue Feb 07 21:40:44 2006 +0000
+++ b/pkgtools/pkglint/files/pkglint.pl Tue Feb 07 21:44:39 2006 +0000
@@ -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 @@
$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);
Home |
Main Index |
Thread Index |
Old Index