summaryrefslogtreecommitdiff
path: root/mk/help
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-11-04 22:05:43 +0000
committerrillig <rillig@pkgsrc.org>2006-11-04 22:05:43 +0000
commit6f1926569590ea777f41161907cffbcbf6acb7e4 (patch)
tree72663bd7324db3a2620f4905c13a4bf741c708d3 /mk/help
parent85b81d4996098a60fe6ae5c497b2742d9449a0d7 (diff)
downloadpkgsrc-6f1926569590ea777f41161907cffbcbf6acb7e4.tar.gz
Added some more formats that are needed to recognize SMART_MESSAGES in
mk/defaults/mk.conf.
Diffstat (limited to 'mk/help')
-rw-r--r--mk/help/help.awk5
1 files changed, 3 insertions, 2 deletions
diff --git a/mk/help/help.awk b/mk/help/help.awk
index c319ea7599a..181bc20ef23 100644
--- a/mk/help/help.awk
+++ b/mk/help/help.awk
@@ -1,4 +1,4 @@
-# $NetBSD: help.awk,v 1.1 2006/10/23 14:40:15 rillig Exp $
+# $NetBSD: help.awk,v 1.2 2006/11/04 22:05:43 rillig Exp $
#
BEGIN {
@@ -36,7 +36,8 @@ BEGIN {
w2 = ($2 == tolower($2)) ? toupper($2) : $2;
if ((w1 == uctopic"?=") ||
- (w1 == "#"uctopic"=") ||
+ (index(w1, "#"uctopic"=") == 1) ||
+ (index(w1, "#"uctopic"?=") == 1) ||
(w1 == "#" && last_line_was_empty &&
(w2 == uctopic || w2 == uctopic":"))) {
var = 1;