pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint/files Allow "# defined" as value for ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/650fae8b07fb
branches: trunk
changeset: 499901:650fae8b07fb
user: rillig <rillig%pkgsrc.org@localhost>
date: Wed Sep 28 21:39:05 2005 +0000
description:
Allow "# defined" as value for multiple inclusion guards in Makefile.common.
diffstat:
pkgtools/pkglint/files/pkglint.pl | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r 4d9c6b1ead6a -r 650fae8b07fb pkgtools/pkglint/files/pkglint.pl
--- a/pkgtools/pkglint/files/pkglint.pl Wed Sep 28 21:02:27 2005 +0000
+++ b/pkgtools/pkglint/files/pkglint.pl Wed Sep 28 21:39:05 2005 +0000
@@ -11,7 +11,7 @@
# Freely redistributable. Absolutely no warranty.
#
# From Id: portlint.pl,v 1.64 1998/02/28 02:34:05 itojun Exp
-# $NetBSD: pkglint.pl,v 1.292 2005/09/28 20:47:39 rillig Exp $
+# $NetBSD: pkglint.pl,v 1.293 2005/09/28 21:39:05 rillig Exp $
#
# This version contains lots of changes necessary for NetBSD packages
# done by:
@@ -1508,7 +1508,7 @@
}
}
- if ($value eq "# defined" && $varname !~ qr".*_MK$") {
+ if ($value eq "# defined" && $varname !~ qr".*(?:_MK|_COMMON)$") {
$line->log_warning("Please use \"# empty\", \"# none\" or \"yes\" instead of \"# defined\".");
}
}
Home |
Main Index |
Thread Index |
Old Index